create bash script to run foreman

- create bin/dev script to run both shakapacker and rails server in a single command
- make sure it reads from Procfile.dev which is the default file
pull/250/head
Wuletaw Wonte 2 years ago
parent f9ae79dd5b
commit e6179e5cbc

@ -0,0 +1,9 @@
#!/usr/bin/env bash
if ! command -v foreman &> /dev/null
then
echo "Installing foreman..."
gem install foreman
fi
foreman start -f Procfile.dev "$@"
Loading…
Cancel
Save