This is the backend part of the Daily planner Application.
Web daily planner which contains some mini-applications for easy planning your day.
Project Daily planner:
- To-do List
- Calendar
- Weather
- News
Docker is a tool designed to make it easier to create, deploy, and run applications using containers. Containers allow the developer to package the application with all the necessary parts, and deploy it as a single package. Thanks to the container, the application will run on any Linux machine, regardless of any configurable parameters.
To start the application, you first need to create an image of the application and run all the components described in the docker-compose.yml file. Then you need to migrate the database and run the application.
⚠️ Migrations are not run automatically.
$ docker-compose build
$ docker-compose up --no-start
$ docker-compose run --rm web python backend/manage.py migrate
$ docker-compose upYou don't have to run migration commands, if no model changes were performed.
$ docker-compose build
$ docker-compose run web python backend/manage.py migrate
$ docker-compose run web python backend/manage.py makemigrations
$ docker-compose up$ docker-compose run --rm web python backend/manage.py makemigrations
or
$ docker-compose run --rm web python backend/manage.py migrateFor stop containers:
$ docker-compose stop