Application de suivi de gymnaste de haut niveau pour la GymFed/FRBG
Go to file
Gregory Trullemans 5e513a9f06 Adding statistics to gymnast 2021-12-02 22:01:50 +01:00
Ultron Adding statistics to gymnast 2021-12-02 22:01:50 +01:00
followup Adding statistics to gymnast 2021-12-02 22:01:50 +01:00
location New model and re-create migrations. 2021-12-02 07:49:23 +01:00
objective New model and re-create migrations. 2021-12-02 07:49:23 +01:00
people Adding statistics to gymnast 2021-12-02 22:01:50 +01:00
planning New model and re-create migrations. 2021-12-02 07:49:23 +01:00
profiles New model and re-create migrations. 2021-12-02 07:49:23 +01:00
static
templates Adding statistics to gymnast 2021-12-02 22:01:50 +01:00
tools
.gitignore Merging version 2021-11-30 18:51:02 +01:00
Procfile
README.md Bug fix 2021-12-02 14:23:26 +01:00
docker-compose.yml
manage.py
requirements.txt

README.md

Ultron

Deploiement sur Heroku

  • Créer l'application sur Heroku

  • Créer les variables d'environnement :

    • ALLOWED_HOSTS : avengers-ultron.herokuapp.com
    • DATABASE_NAME : ultron
    • DISABLE_COLLECTSTATIC : 1
    • SECRET_KEY : django-insecure-g_eoy6z%xshku4o5#k%o%i_%nb%pz80config#+t%f --> DATABASE_URL est créé automatiquement
        heroku config:set DISABLE_COLLECTSTATIC="1"
        heroku config:set ALLOWED_HOSTS="avengers-ultron.herokuapp.com"
        heroku config:set SECRET_KEY="django-insecure-g_eoy6z%xshku4o5#k%o%i_%nb%_pz80config_#+t%f"
        heroku config:set DATABASE_NAME="ultron"
    
  • Push de l'application

  • Création du super user : heroku run python manage.py createsuperuser