Recipe API project develop using Django Rest Framework and Docker
This project uses Docker, and all commands to use and install are run with Docker.
build project
docker compose build
run project
docker compose up
docker compose up -d
stop project
docker compose down
ps.: To verify your application open 127.0.0.1:8000
to run flake8
docker compose run --rm app sh -c "flake8"
to run tests
docker compose run --rm app sh -c "python manage.py test"
to create a new Django project
docker compose run --rm app sh -c "django-admin startproject app ."
to create migrations
docker compose run --rm app sh -c "python manage.py makemigrations"
to run migrations
docker compose run --rm app sh -c "python manage.py migrate"
Contributions are what make the open source community an incredible place to learn, inspire and create. Any contribution you make will be much appreciated.
- Make a project Fork
- Create a Branch for your feature (
git checkout -b feature/amazing-feature
) - Insert your changes (
git add .
) - Make a commit with your changes (
git commit -m 'feat(<scope>): Inserting a Amazing Feature !
) - Push the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Distributed under the MIT license. See LICENSE
for more information.
Yury Alencar - Github - [email protected]