diff options
| author | mo khan <mo@mokhan.ca> | 2013-05-12 16:04:06 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-05-12 16:04:06 -0600 |
| commit | 3fc444792ebff667aa3771b83d1b2107966c5b4c (patch) | |
| tree | 767b8242e6f32480aa81c6b7cab5f9b7095242ed /script/bootstrap.sh | |
| parent | 5d8b4bf7881bf30b2e208c16c46429e837d8cc6f (diff) | |
add script to provision vagrant vm
Diffstat (limited to 'script/bootstrap.sh')
| -rw-r--r-- | script/bootstrap.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/script/bootstrap.sh b/script/bootstrap.sh new file mode 100644 index 00000000..7847c458 --- /dev/null +++ b/script/bootstrap.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +apt-get update +apt-get install -y nginx +apt-get install -y imagemagick +apt-get install -y postgresql-9.1 +apt-get install -y bash curl git patch bzip2 build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev libgdbm-dev ncurses-dev automake libtool bison subversion pkg-config libffi-dev libcurl3-dev imagemagick libmagickwand-dev libpcre3-dev + +su -c 'bash /vagrant/script/bootstrap-vagrant.sh' vagrant +\curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby |
