zooniverse / scribeAPI

scribe API
MIT License
80 stars 25 forks source link

allow env_variables to be set from a config file. #399

Closed camallen closed 9 years ago

camallen commented 9 years ago

allow custom env vars to be set before running tasks / server

camallen commented 9 years ago

I've added a staging / prod config files for this (from @saschaishikawa) - please check the bash script works.

nonword commented 9 years ago

In my bash I got:

  ./start.sh: line 12: [: missing `]'

Also should 19 could be amended to exec bundle exec rails server -p ${2-80} to support setting the port on the command-line? (e.g. ./start projname 3000)