File tree Expand file tree Collapse file tree 6 files changed +21
-4
lines changed Expand file tree Collapse file tree 6 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 254
254
fog-softlayer (0.3.15 )
255
255
fog-core
256
256
fog-json
257
- foreman (0.74 .0 )
257
+ foreman (0.75 .0 )
258
258
dotenv (~> 0.11.1 )
259
259
thor (~> 0.19.1 )
260
260
formatador (0.2.5 )
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ puts custom_settings.inspect
10
10
11
11
VAGRANTFILE_API_VERSION = "2"
12
12
13
- $box = 'coderwall '
14
- $box_url = 'https://s3.amazonaws.com/coderwall-assets-0/vagrant/coderwall .box' # The box is 1GB. Prepare your
13
+ $box = 'coderwall_v2 '
14
+ $box_url = 'https://s3.amazonaws.com/coderwall-assets-0/vagrant/coderwall_v2 .box' # The box is 1.4GB.
15
15
$provision = 'vagrant/bootstrap.sh'
16
16
17
17
Vagrant . configure ( VAGRANTFILE_API_VERSION ) do |config |
Original file line number Diff line number Diff line change
1
+ vagrant ssh -c " . /home/vagrant/web/vagrant/run"
Original file line number Diff line number Diff line change
1
+ vagrant ssh -c " . /home/vagrant/web/vagrant/run"
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ su -c '/usr/bin/pg_ctl start -l /var/pgsql/data/log/logfile -D /var/pgsql/data'
6
6
7
7
sudo su - vagrant << -'EOF '
8
8
cd ~/web
9
- bundle check && bundle install
9
+ bundle check || bundle install
10
+ # Force the app to use the internal Postgres port number and ignore .env
10
11
DEV_POSTGRES_PORT=5432 bundle exec rake db:migrate
11
12
DEV_POSTGRES_PORT=5432 bundle exec rake db:test:prepare
12
13
EOF
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -e
2
+
3
+ cd /home/vagrant/web
4
+
5
+ rvm current
6
+ bundle check || bundle install
7
+ bundle clean --force
8
+
9
+ bundle exec foreman check
10
+
11
+ bundle exec rake db:migrate
12
+ bundle exec rake db:test:prepare
13
+
14
+ bundle exec foreman start all
You can’t perform that action at this time.
0 commit comments