From 3fd3205c3c4e10c77673f7d03803e4bd36b3f357 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 29 Nov 2012 14:30:01 +0100 Subject: [PATCH] fix bootstrap --- bin/fnpdjango_bootstrap.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/bin/fnpdjango_bootstrap.sh b/bin/fnpdjango_bootstrap.sh index b6c6da7..f9a5eb4 100755 --- a/bin/fnpdjango_bootstrap.sh +++ b/bin/fnpdjango_bootstrap.sh @@ -7,6 +7,11 @@ pip install "$DJANGO_REQ" django-admin.py startproject \ --template http://pypi.nowoczesnapolska.org.pl/bootstrap/project.tar.gz \ "$1" -chmod +x "$1"/manage.py -pip install -r "$1"/requirements.txt -pip install -r "$1"/requirements-dev.txt + +cd "$1" +chmod +x manage.py +mv "$1"/localsettings.py.default "$1"/localsettings.py +pip install -r requirements.txt +pip install -r requirements-dev.txt +git init + -- 2.20.1