X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/a30f7ce023f088f521957c38f1a3838a494ad583..5ef0c244216d61308c3b0154186421ddbf801553:/bin/fnpdjango_bootstrap.sh diff --git a/bin/fnpdjango_bootstrap.sh b/bin/fnpdjango_bootstrap.sh index ecb80a0..0f56953 100755 --- a/bin/fnpdjango_bootstrap.sh +++ b/bin/fnpdjango_bootstrap.sh @@ -5,7 +5,7 @@ PROJECT="$1" # Make it a function, so that it works with `source` start_project() { -DJANGO_REQ='Django>=1.4,<1.5' +DJANGO_REQ='Django>=1.5,<1.6' VIRTUALENVWRAPPER_PATHS=" /etc/bash_completion.d/virtualenvwrapper /usr/bin/virtualenvwrapper.sh @@ -63,6 +63,9 @@ echo -e "${strong}Installing requirements...${normal}" pip install -r requirements.txt echo -e "${strong}Installing developer requirements...${normal}" pip install -r requirements-dev.txt +echo -e "${strong}Running syncdb...${normal}" +./manage.py syncdb --noinput + echo -e "${strong}Starting new git repository...${normal}" git init