- Timestamp:
- Aug 29, 2012, 1:23:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/deploy/bin/django
r2076 r2309 17 17 #!/usr/bin/env python 18 18 import sys, os, time, threading, django.utils.autoreload 19 sys.path.insert(0, "/mit/$USER/Scripts/django ")19 sys.path.insert(0, "/mit/$USER/Scripts/django/$name") 20 20 os.chdir("/mit/$USER/Scripts/django/$name") 21 21 os.environ['DJANGO_SETTINGS_MODULE'] = "$name.settings" … … 51 51 chdir "/mit/$USER/Scripts/django/"; 52 52 system(qw{django-admin startproject}, $name)==0 or die "\nFailed to create app.\n\n"; 53 chdir "$name ";53 chdir "$name/$name"; 54 54 55 55 open SETTINGS, "settings.py"; … … 106 106 rename "urls.py.new", "urls.py"; 107 107 108 chdir ".."; 109 108 110 print "Initializing your project's SQL database schema...\n"; 109 111 system qw{./manage.py syncdb --noinput};
Note: See TracChangeset
for help on using the changeset viewer.