API that provides weather historical data for specific location.
License: MIT
- First, you need to set up your
.env
file. There is an example content that should be taken as a base -.env.example
- Fill out the environment variable values in the
.env
file under the Application delimiter.
You can build the Docker images by executing the following command:
docker compose build --no-cache
Containers can be launched by executing the following command:
docker compose build up -d
Please, follow: http://127.0.0.1:8000/api/docs/
-
To create a superuser account, use this command:
docker compose run --rm django python manage.py createsuperuser
For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.
The following details how to deploy this application.
See detailed cookiecutter-django Docker documentation.
Moved to settings.