diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-10-30 18:59:07 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-10-30 18:59:07 -0500 |
commit | 2f9bd4d4582a938bc138b92789fcb9ff3fb44a50 (patch) | |
tree | 4b329c1c3296fac90e8fe93bb6529ef03bcf4220 /docs/source | |
parent | 00aca6851ee5f9c38fd6d7f1e0e28896b71de50e (diff) | |
download | mediagoblin-2f9bd4d4582a938bc138b92789fcb9ff3fb44a50.tar.lz mediagoblin-2f9bd4d4582a938bc138b92789fcb9ff3fb44a50.tar.xz mediagoblin-2f9bd4d4582a938bc138b92789fcb9ff3fb44a50.zip |
Added notes on a more permanent mediagoblin process.
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/deploying.rst | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/source/deploying.rst b/docs/source/deploying.rst index 0aece001..69478277 100644 --- a/docs/source/deploying.rst +++ b/docs/source/deploying.rst @@ -208,3 +208,25 @@ Visit the site you've set up in your browser, eg http://example.mediagoblin.org (except with the real domain name or IP you're expecting to use. ;)) + +A more permanent mediagoblin process via paste +============================================== + +At this point, you probably have a MediaGoblin instance that for most +intents and purposes works, but lazyserver is... well, lazy. You +probably want to set up a process that you can launch in init scripts. + +Try something along the lines of: + + CELERY_ALWAYS_EAGER=true \ + /srv/mediagoblin.example.org/mediagoblin/bin/paster serve \ + /srv/mediagoblin.example.org/mediagoblin/paste.ini \ + --pid-file=/tmp/mediagoblin.pid \ + --server-name=fcgi fcgi_host=127.0.0.1 fcgi_port=26543 \ + +Feel free to adjust any of this. + +Note that this runs MediaGoblin in "always eager" mode with Celery. +This is fine for development and smaller deployments. However if +you're getting into the really large deployment category, consider +reading the section of this manual on Celery. |