diff options
author | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-26 20:35:43 -0400 |
---|---|---|
committer | guntasgrewal <guntasgrewal@gmail.com> | 2014-04-26 20:35:43 -0400 |
commit | 2d0fe1a4197e70cb99f4285a8b32a645914d8beb (patch) | |
tree | a1d4270924d24dd441bbd95db980952ea83d9223 /start | |
parent | 78df502c74525cee987e551fc82e91595e63ed01 (diff) |
Wrote a script the start the server called start deleted the old one. The new one has 2 flag options -c and -s these correspond to starting the console or server respectively.
Diffstat (limited to 'start')
-rwxr-xr-x | start | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#!/bin/bash + +if [ $1 == "-c" ]; then + bundle exec rails c +fi +if [ $1 == "-s" ]; then + bundle exec rails s +fi + +#echo "Only use: start -c or start -s. Don't be a jackass." + |