Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielgrippi <danielgrippi@gmail.com>2011-08-30 01:36:19 +0400
committerdanielgrippi <danielgrippi@gmail.com>2011-08-30 01:38:07 +0400
commit119867038323324123677b0bd8d8b169c6bec4b5 (patch)
tree3ffc31d50afb172209e48f46dfe4517e65fc48ea /Procfile
parent4d666e3f5ba1c4297c70a25645e0332651d6f91b (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--Procfile4
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