X-Git-Url: https://git.mdrn.pl/fnpdjango.git/blobdiff_plain/deab1162c0d65293acfdc723ad9f6676f653f2fb..3fd3205c3c4e10c77673f7d03803e4bd36b3f357:/bin/fnpdjango_bootstrap.sh 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 +