Simple Django app for Predictors Competition. Includes accounts management, predictions, matches models, results tracker, and odds scraper. Initially hosted on nostradamus.ml.
Match results (including live updates) powered by the dev-friendly football API football-data.org
Application deployment is partly interactive during Django superuser creation and site certificate issuing. All other stuff is automated.
- Add
.env
file containing all the needed parameters for service start — ALLOWED_HOSTS, SECRET_KEY, DATABASE_URL (DEBUG could be also useful) to root folder of the project, use.env_example
as a template. - Execute Make providing:
- db_password as the password for db for django user. The same you put in DATABASE_URL on the previous step.
- domain domain where your app will be hosted — your site's URL w/o
https://www
part.
For example: make domain="nostradamus.ml" db_password="my_super_password"
make clean -i
to clean everything that's got installed during deployment.
@vitorfs for brilliant Djange guide