Skip to content

Instantly share code, notes, and snippets.

Created June 22, 2012 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2974700 to your computer and use it in GitHub Desktop.
Save anonymous/2974700 to your computer and use it in GitHub Desktop.
Part 2
#! /bin/sh
cd /var/www
django-admin.py startproject testsite
mv testsite django
cd django
python ./manage.py runfcgi host=127.0.0.1 port=8080
cd ~
sudo /etc/init.d/nginx restart
wget localhost
cat index.html
rm index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment