Skip to content
This repository was archived by the owner on Feb 7, 2018. It is now read-only.

Commit bccf99a

Browse files
committed
Better deploy script.
1 parent 789a9dc commit bccf99a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

deploy.sh

+9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
#!/bin/bash
2+
3+
# Take down current process
4+
cat tmp/pids/server.pid | xargs kill -9
5+
6+
# Install and remove gems
27
bundle install
8+
9+
# Run migrations
310
rake db:migrate
11+
12+
# Start up new process
413
bundle exec rails server -p 3000

0 commit comments

Comments
 (0)