diff --git a/examples/env.example b/examples/env.example new file mode 100644 index 00000000..4804bf6a --- /dev/null +++ b/examples/env.example @@ -0,0 +1,5 @@ +SECRET_KEY=zrhnooq6)sb+0+xb)(o0rvbf5)a(vc8ncv&1&kng@3i_pmx3oy +DEBUG=True +ALLOWED_HOSTS=.localhost,127.0.0.1 +DATABASE_URL=postgres://orchestra:orchestra@127.0.0.1:5432/orchestra +STATIC_ROOT=PATH_TO_STATIC_ROOT diff --git a/examples/initial_project.sh b/examples/initial_project.sh index ab6f88ac..2f15a60b 100644 --- a/examples/initial_project.sh +++ b/examples/initial_project.sh @@ -15,5 +15,5 @@ sudo pip3 install -r total_requirements.txt sudo pip3 install -e . django-admin.py startproject panel --template="orchestra/conf/ribaguifi_template" -cp .env.example panel/.env +cp examples/env.example panel/.env python3 panel/manage.py migrate