Created
June 22, 2012 19:46
-
-
Save anonymous/2974700 to your computer and use it in GitHub Desktop.
Part 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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