Coach royale is a hobby project which consumes Clash Royale API endpoints. This project used to support and rely on RoyaleAPI, which is now discontinued, but was the first and the best Clash Royale API.
##Setup
First, you need to set up Docker on your system.
Second, clone the project, copy coach_royale/settings.example.py
to coach_royale/settings.py
and adapt it to your needs.
When both Docker and Django are properly set up, all you have to do is run the following command in the root directory of the project
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build
By default the app is running on localhost:8000. You can change this behaviour by editing docker-compose.yml
When you are finished, you can stop the web server with docker-compose down
.
- Fetch the latest code by running
git pull
- check for changes in
settings.example.py
in the output of the above command - (if changes)
diff coach_royale/settings.example.py coach_royale/settings.py
and see if you want the changes - Re-build the image:
docker-compose -f docker-compose.prod.yml -f docker-compose.yml build backend
- You're done!