fix bootstrap
[fnpdjango.git] / bin / fnpdjango_bootstrap.sh
1 #!/bin/sh
2
3 DJANGO_REQ = 'django>=1.4,<1.5'
4
5 mkvirtualenv "$1"
6 pip install "$DJANGO_REQ"
7 django-admin.py startproject \
8     --template http://pypi.nowoczesnapolska.org.pl/bootstrap/project.tar.gz \
9     "$1"
10
11 cd "$1"
12 chmod +x manage.py
13 mv "$1"/localsettings.py.default "$1"/localsettings.py
14 pip install -r requirements.txt
15 pip install -r requirements-dev.txt
16 git init
17