This commit is contained in:
Adrien Audebert 2024-07-18 15:03:24 +02:00
parent b5bc219cd6
commit 97dda6805c
2 changed files with 16 additions and 1 deletions

15
.env Normal file
View File

@ -0,0 +1,15 @@
# Django settings
SECRET_KEY="F0!!0w the @h\$te Raββ\$t"
DEBUG=True
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
# PostgreSQL settings
POSTGRES_DB=players_db
POSTGRES_USER=42student
POSTGRES_PASSWORD=qwerty#42
DB_HOST=db
DB_PORT=5432
PROJECT_PATH=${PWD}/helloworld
POSTGRES_DATA_PATH=${PWD}/data/db

2
.gitignore vendored
View File

@ -3,6 +3,6 @@
# virtualenv
venv/
__pycache__
__pycache__/
data/