b6c6da7264a5a778c231721821883406b0552f78
[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 chmod +x "$1"/manage.py
11 pip install -r "$1"/requirements.txt
12 pip install -r "$1"/requirements-dev.txt