* adding ability to run everything within jam-web for jobs

This commit is contained in:
Seth Call 2014-01-29 13:26:11 -06:00
parent 3d453468f2
commit 55850ae602
2 changed files with 12 additions and 0 deletions

6
runadmin Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
pushd admin
# run jam-admin rails server
bundle exec rails s
popd

6
runjobs Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
pushd web
# run all_jobs rake task; this waits on new jobs from the resque queue, i.e., audiomixer, icecast, etc
bundle exec rake all_jobs
popd