This file contains hidden or 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
#!/usr/bin/env python | |
# encoding: utf-8 | |
""" | |
twittertrend.py | |
Created by Philipp Bosch on 2010-03-23. | |
Copyleft (ɔ) 2010 Philipp Bosch. No rights reserved. | |
""" | |
import sys |
This file contains hidden or 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
read -p "Project name? " PROJECT_NAME | |
django-admin.py startproject $PROJECT_NAME | |
mysqladmin5 -uroot --default-character-set=utf8 create $PROJECT_NAME | |
cd $PROJECT_NAME | |
chmod +x manage.py | |
mkdir migrations | |
mkdir templates | |
mkdir media | |
mkdir media/img | |
mkdir media/css |
This file contains hidden or 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
from distutils.sysconfig import get_python_lib | |
execfile(get_python_lib() + "/pb/settings_base.py") |
NewerOlder