Application de suivi de gymnaste de haut niveau pour la GymFed/FRBG
Go to file
Gregory Trullemans 6b01390caf Clening git repo 2022-09-28 11:47:47 +02:00
config [WIP] Modification of Follow-Up url configuration 2022-09-10 17:44:53 +02:00
requirements Update requirements file 2022-09-22 12:51:45 +02:00
static [WIP] less hardcoded url in js scripts 2022-02-12 18:39:06 +01:00
templates Improve PDF report 2022-09-27 08:24:01 +02:00
ultron Clening git repo 2022-09-28 11:47:47 +02:00
.drone.yml Blacked python file 2021-12-19 09:30:51 +01:00
.gitignore Clening git repo 2022-09-28 11:47:47 +02:00
.pylintrc Remove duplicate code from pylint 2022-01-07 19:28:23 +01:00
Procfile Changing to 2021-12-09 16:12:55 +01:00
README.md Remove comment and add info in README file 2022-09-04 12:59:31 +02:00
docker-compose.yml Minor UI imrovements 2021-11-30 18:46:17 +01:00
manage.py Changing to 2021-12-09 16:12:55 +01:00
planning.json Planning transfert 2022-02-13 16:04:37 +01:00
requirements.txt update requirements 2021-12-19 09:39:13 +01:00

README.md

Ultron

Build Status

Déploiement 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 : créé automatiquement lorsqu'on ajoute l' element PostgreSQL

    Exemple :

        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 : git push heroku master

  • Se connecter à Héroku (via l'invite de commande) : heroku login

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

Applications

Right

Il y a 3 types pe de droits :

- Administrateur
- Entraineur (groupe `Trainer`)
- Gymnaste (groupe `Gymnast`)
Administrateur

Il peut tout faire.

Entraîneur

Peut tout faire sauf :

  • Gérer les skill
  • Gérer les Pays
  • Gérer les lieux
Gymnaste

Un gymnaste peut tout faire pour lui-même :

  • Ajouter un chrono
  • Ajouter un score
  • Ajouter un height/weight

Skill

Learned Skill

Il y a quatre niveau de connaissance d'un skill :

  • non connu
  • connu avec aide (tapis, élastiques, fosse, …)
  • connu sans aucune aide
  • connu et enchainé