Skip to content

Commit

Permalink
Add .env.ci.sample and update workflow to use .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
renefs committed Feb 11, 2024
1 parent be6128d commit 8a96056
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .env.ci.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

DEBUG=true
LOG_LEVEL=DEBUG
LOG_TO_FILE=false
LOGGER_HANDLERS=console
LOGS_ROOT=
DATABASE_TYPE=sqlite
SECRET_KEY=5l&p(55vh2n)c$e-ntloegcl!e5(&7#cgchu1x8vj)tmn+@48a
ALLOWED_HOSTS=0.0.0.0,localhost,127.0.0.1
TIME_ZONE=UTC
ENABLE_SENTRY=false
SENTRY_DSN=
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000

2 changes: 1 addition & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
key: venv-${{ hashFiles('poetry.lock') }}
- name: Install the project dependencies
run: |
mv backend/config/config.sample.py backend/config/config.py
mv .env.ci.sample .env
poetry install
- name: Run Tests
run: |
Expand Down

0 comments on commit 8a96056

Please sign in to comment.