Browse files

documented how to work w/ AWS

  • Loading branch information...
1 parent 1184ea3 commit a3b719591f8430acb605adb757d1057919afacee @marcua marcua committed Apr 5, 2012
Showing with 27 additions and 0 deletions.
  1. +27 −0
@@ -2,3 +2,30 @@
make runserver
+# To push to AWS
+ssh -i threemooseketeers.pem
+sudo su - django
+cd moose
+git pull
+sudo service moose stop
+sudo service moose start
+# To get it working on AWS
+sudo apt-get update
+sudo apt-get install postgresql python-pip git nginx build-essential python-psycopg2 python-dev emacs
+sudo pip install Django==1.4 uwsgi
+sudo adduser django
+sudo su - django
+git clone git://
+cd moose
+--> generate from private_settings.template
+(back as the root user)
+sudo cp wsgi/nginx/nginx.conf /etc/nginx/
+sudo cp wsgi/upstart/moose.conf /etc/init/
+sudo initctl reload-configuration
+sudo service nginx start
+sudo service moose start

0 comments on commit a3b7195

Please sign in to comment.