interactive
[auf_skeleton_django.git] / bootstrap.sh
CommitLineData
64b0aa93
OL
1DJANGO_VERSION='1.4.5'
2DJANGO_PKG='django-'$DJANGO_VERSION
3TMP='/tmp/auf_skeleton_django'
4
1d8a692f
OL
5echo "Nom du projet (tout en minuscule): "
6read PROJET
7
64b0aa93
OL
8git clone git://git.auf.org/auf_skeleton_django $TMP
9virtualenv $DJANGO_PKG
10source $DJANGO_PKG/bin/activate
11pip install django==$DJANGO_VERSION
1d8a692f 12django-admin.py startproject $PROJET --template=$TMP --name=django --name=django.wsgi --name=deploy --name=README.rst
64b0aa93
OL
13deactivate
14rm -Rf $DJANGO_PKG $TMP