generated from dataforgoodfr/d4g-project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from dataforgoodfr/37-feat-connexion-back-et-f…
…ront 37 feat connexion back et front
- Loading branch information
Showing
650 changed files
with
236,264 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Demande de fonctionnalité | ||
about: Un nouveau visuel ou une fonctionnalité à ajouter ? | ||
title: "[\U0001F6A7 FEAT]" | ||
labels: fonctionnalité | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Demande de fonctionnalité** | ||
|
||
**Description de la fonctionnalité** | ||
Une description claire et concise de la fonctionnalité demandée. | ||
|
||
**Raison de la demande** | ||
Expliquez pourquoi cette fonctionnalité est nécessaire ou bénéfique. | ||
|
||
**Détails de la demande** | ||
- Où cette fonctionnalité devrait-elle être implémentée dans l'application (par exemple, quel onglet) ? | ||
- Comment cette fonctionnalité devrait-elle fonctionner ? | ||
- Quels sont les résultats attendus de cette fonctionnalité ? | ||
|
||
**Onglet associé** | ||
Dans quel onglet de l'application cette fonctionnalité serait-elle le plus pertinente ? | ||
|
||
**Captures d'écran** | ||
Si vous avez des captures d'écran ou des exemples visuels pour illustrer la demande, n'hésitez pas à les ajouter. | ||
|
||
**Contexte supplémentaire** | ||
Ajoutez tout autre contexte ou information pertinente concernant la demande de fonctionnalité. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Signalement de bug | ||
about: Un bug à nous faire remonter ? | ||
title: "[\U0001F99F BUG]" | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Décrire le bug** | ||
Une description claire et concise du bug. | ||
|
||
**Pour reproduire** | ||
Étapes pour reproduire le comportement : | ||
1. Aller à '...' | ||
2. Cliquer sur '....' | ||
3. Faire défiler jusqu'à '....' | ||
4. Voir l'erreur | ||
|
||
**Comportement attendu** | ||
Une description claire et concise de ce à quoi vous vous attendiez. | ||
|
||
**Captures d'écran** | ||
Si applicable, ajoutez des captures d'écran pour expliquer votre problème. | ||
|
||
**Ordinateur de bureau (veuillez compléter les informations suivantes) :** | ||
- OS : [par exemple iOS] | ||
- Navigateur : [par exemple chrome, safari] | ||
- Version : [par exemple 22] | ||
|
||
**Smartphone (veuillez compléter les informations suivantes) :** | ||
- Appareil : [par exemple iPhone6] | ||
- OS : [par exemple iOS8.1] | ||
- Navigateur : [par exemple navigateur par défaut, safari] | ||
- Version : [par exemple 22] | ||
|
||
**Contexte supplémentaire** | ||
Ajoutez tout autre contexte concernant le problème ici. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,27 @@ | ||
Template DataForGood | ||
================ | ||
|
||
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! --> | ||
|
||
This file will become your README and also the index of your | ||
documentation. | ||
|
||
# Contributing | ||
|
||
|
||
## Use a venv | ||
|
||
python3 -m venv name-of-your-venv | ||
|
||
source name-of-your-venv/bin/activate | ||
|
||
|
||
## Utiliser Poetry | ||
|
||
[Installer Poetry](https://python-poetry.org/docs/): | ||
|
||
python3 -m pip install "poetry==1.4.0" | ||
|
||
Installer les dépendances: | ||
|
||
poetry install | ||
|
||
Ajouter une dépendance: | ||
|
||
poetry add pandas | ||
|
||
Mettre à jour les dépendances: | ||
|
||
poetry update | ||
|
||
## Utiliser Jupyter Notebook | ||
|
||
jupyter notebook | ||
|
||
and check your browser ! | ||
|
||
## Lancer les precommit-hook localement | ||
|
||
[Installer les precommit](https://pre-commit.com/) | ||
|
||
|
||
pre-commit run --all-files | ||
|
||
|
||
## Utiliser Tox pour tester votre code | ||
|
||
tox -vv | ||
![](./media/zds_banner.png) | ||
|
||
# Zéro Déchet Sauvage | ||
## À propos | ||
[Zéro Déchet Sauvage](http://zds-app.duckdns.org/) (ZDS) est une application de visualisation de données de déchets diffus et collectés au cours d'évènements de collectes. Il s'agit d'une plateforme appartenant à l'association [MerTerre](https://mer-terre.org/) et développée par des bénévoles de l'association Data For Good. | ||
|
||
## Démo | ||
Une démo de l'applicaiton a été réalisée lors du Demo Day organisée à la fin de la saison 12 par Data For Good. | ||
|
||
<a href="[URL](https://www.youtube.com/live/7Zvy2PS7Vjg?si=Z3Gduxff0EunXsF7&t=6210)"> | ||
<img src="https://i.ytimg.com/vi/7Zvy2PS7Vjg/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGFUgTyhlMA8=&rs=AOn4CLC3vkFGSd9jcNDb0HxMvbdN8kxQyA" alt="video youtube du demo day" width="50%"> | ||
</a> | ||
|
||
## Remerciement | ||
Merci à l'équipe de développement : | ||
* [Floriane](https://github.com/florianeduccini) | ||
* [Hadrien](https://github.com/DridrM) | ||
* [Mehdi](https://github.com/Mendi33) | ||
* [Vincent](https://github.com/Vincentdata) | ||
* [Thibault](https://github.com/tgazagnes) | ||
* [Linh](https://github.com/linh-dinh-1012) | ||
* [Joaquim](https://github.com/JoaquimDiaz) | ||
* [Valérie](https://github.com/ValerieNevo) | ||
* [Kyllian](https://github.com/KyllianBeguin) | ||
|
||
## Licence | ||
Ce projet est sous licence MIT. Plus d'information sur le fichier [LICENCE](https://github.com/dataforgoodfr/12_zero_dechet_sauvage/blob/staging/LICENSE). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM mysql:9.1.0 | ||
|
||
ENV MYSQL_DATABASE zero_dechet_sauvage | ||
|
||
COPY ./scripts/setup_db.sql /docker-entrypoint-initdb.d/ | ||
|
||
COPY ./.mysql_root_password /.mysql_root_password | ||
COPY ./.mysql_merterre_password /.mysql_merterre_password | ||
COPY ./scripts/create_merterre.sql create_merterre.sql | ||
COPY ./create_merterre.sh /docker-entrypoint-initdb.d/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
#reading the value of weekday.txt file into the var variable | ||
rpass=$(cat .mysql_root_password) | ||
mpass=$(cat .mysql_merterre_password) | ||
|
||
add_merterre_raw=$(cat create_merterre.sql) | ||
add_merterre="${add_merterre_raw/BY /BY \'"$mpass"\'}" | ||
|
||
mysql -h localhost --user=root --password=$rpass -se "$add_merterre" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
CREATE USER 'merterre'@'%' IDENTIFIED BY ; | ||
GRANT INSERT, SELECT, UPDATE ON zero_dechet_sauvage.* TO 'merterre'@'%'; |
Oops, something went wrong.