Skip to content

Commit

Permalink
feat(Django): added django and django rest framework
Browse files Browse the repository at this point in the history
Basic installation of Django and its dependencies. The devcontainer was created. Pre-commit and commitzen were added.

Closed #3
  • Loading branch information
glaubervila committed Aug 28, 2024
1 parent eb7a4e9 commit 7d8a90f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/requirements/local.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ruff==0.6.2 # https://github.com/astral-sh/ruff
coverage==7.6.1 # https://github.com/nedbat/coveragepy
djlint==1.34.1 # https://github.com/Riverside-Healthcare/djLint
pre-commit==3.8.0 # https://github.com/pre-commit/pre-commit
commitizen==3.29.0 # https://github.com/commitizen-tools/commitizen

# Django
# ------------------------------------------------------------------------------
Expand Down
3 changes: 2 additions & 1 deletion compose/local/django/start
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -o errexit
set -o pipefail
set -o nounset


echo "Running Migrate to apply changes in database"
python manage.py migrate

exec python manage.py runserver_plus 0.0.0.0:8000

0 comments on commit 7d8a90f

Please sign in to comment.