Application de suivi de gymnaste de haut niveau pour la GymFed/FRBG
Go to file
Gregory Trullemans 84154b5c45
continuous-integration/drone/push Build is passing Details
Planning transfert
2022-02-13 16:04:37 +01:00
config Fetch Git commit (and tag, if exists), with its date 2022-01-12 20:24:10 +01:00
requirements Improve filters in Skill Admin 2022-01-08 15:55:33 +01:00
static [WIP] less hardcoded url in js scripts 2022-02-12 18:39:06 +01:00
templates Adding informaties in gymnast profile 2022-02-13 15:40:24 +01:00
ultron Adding migration files 2022-02-13 15:42:15 +01:00
.drone.yml Blacked python file 2021-12-19 09:30:51 +01:00
.gitignore Update gitignore file 2022-02-04 10:23:17 +01: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 Close #11 2022-02-11 15:03:23 +01: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

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 : 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

  • 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é