This site is an archive; learn more about 8 years of OpenHatch.

[Greenhouse] Steps for moving the deployment off dotcloud

Asheesh Laroia asheesh at asheesh.org
Tue Oct 8 22:17:23 UTC 2013


Steps Dave can do:

* Make sure you have a WSGI "application" that will run the Django app

(this sounds harder than it is. Django usually autogenerates a wsgi.py 
that you can use for the purpose.)

* Make sure that you can use gunicorn to serve the app, on a port of your 
choosing, on vm3.openhatch.org

Steps Asheesh can do:

* Once the above is ready, Asheesh can switch things up so that mod_wsgi 
does the work that gunicorn used to do.

Relevant links:

https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/gunicorn/

More detailed fun with wsgi, not that it's essential to know:

http://ivory.idyll.org/articles/wsgi-intro/what-is-wsgi.html

http://archimedeanco.com/wsgi-tutorial/

-- Asheesh.


More information about the Greenhouse mailing list