git clone https://github.com/Fingerstyle-Taiwan/django-backend.git
cd django-backend
make build
This command will launch django server and database. See http://127.0.0.1:8000/admin
make up
If you get a database error after make up, just try the code below, it will remove the database from disk, then rebuild volume again.
make down
make database-init
make up
make superuser
See http://127.0.0.1:8000/docs
make down
- lint
make lint
- test
make test
- create a django app
make create-app NAME=YouAppName
- create superuser
make superuser
- migrations
make migrations
- migrate
make migrate
Please use commitizen-tools to submit your commit message.
cz c
Docker is a software platform that allows you to quickly build, test, and deploy applications.
Make is a tool which controls the generation of executables and other non-source files of a program from the program's source files.
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design.
PostgreSQL is a powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.
In the case of a bug report, bugfix or a suggestions, please feel very free to open an issue.
Pull requests are always welcome, and I'll do my best to do reviews as fast as I can.
This project is licensed under the MIT License
- Contact us on Discord
- If appropriate, open an issue on GitHub
Django REST Framework - Django REST framework is a powerful and flexible toolkit for building Web APIs.