diff options
author | danielgrippi <danielgrippi@gmail.com> | 2011-08-30 01:36:19 +0400 |
---|---|---|
committer | danielgrippi <danielgrippi@gmail.com> | 2011-08-30 01:38:07 +0400 |
commit | 119867038323324123677b0bd8d8b169c6bec4b5 (patch) | |
tree | 3ffc31d50afb172209e48f46dfe4517e65fc48ea /Procfile | |
parent | 4d666e3f5ba1c4297c70a25645e0332651d6f91b (diff) |
Added Foreman gem. Run Diaspora using `foreman start` (will start everything except mySQL. Passing in a -p flag will let you specifiy the port. Also: I took single_process_mode out of app config and made it an environment variable. If you want to boot a lightweight server, run `SINGLE_PROCESS=true rails s`.
Diffstat (limited to 'Procfile')
-rw-r--r-- | Procfile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..23f79e5ce --- /dev/null +++ b/Procfile @@ -0,0 +1,4 @@ +redis: redis-server +websocket: ruby script/websocket_server.rb +web: bundle exec rails s thin -p $PORT +worker: QUEUE=* rake resque:work |