Mediagoblin

a quick and dirty guide, better docs and maybe puppet config later

Installation

 * 1) follow Deploying guide using python3, up to the FastCGI and Nginx part where you stop, because flup doesn't work on python3 and uWSGI is better.
 * 2) Set up uWSGI with Nginx as you see in this guide.

Make sure to install on Debian/Ubuntu, or  on CentOS. Then add the following as stated in this guide:

Though actually, instead of the config seen in the guide, use this one (since the guide has a typo for uwsgi_pass, and puts the site under, which is not what we want.)

uWSGI Emperor Config
It is a good idea to run the uWSGI apps as vassals to the uWSGI Emperor service. Install it with:

Then create a uwsgi config file for mediagoblin:

Most importantly, chown it to mediagoblin:nginx so that uwsgi will run the service with those permissions.

Finally, run the uwsgi Emperor service.

If shows you that, then enable the uwsgi service on boot: