Closed dudarev closed 10 years ago
For stand-alone server deployment I'm referring to this settings file:
https://github.com/dudarev/photoplanet/blob/master/photoplanet/photoplanet/settings/donetskogram.py
Starting the application causes an error uwsgi: In /home/photoplanet/photoplanet/logs/uwsgi.log Traceback (most recent call last): self.method = environ['REQUEST_METHOD'].upper() KeyError: u'REQUEST_METHOD' [pid: 15270|app: 0|req: 3/4]() {14 vars in 359 bytes} [Wed Sep 10 17:23:22 2014] => generated 0 bytes in 0 msecs ( 500) 0 headers in 0 bytes (0 switches on core 0)
Fix KeyError
Following instructions at
https://gist.github.com/dudarev/4348689#set-up-django-nginx-and-uwsgi
set up Ansible scripts to deploy photoplanet on VM.
Test with local Vagrant instance.