Skip to content

Commit 2cf6104

Browse files
Merge pull request #35 from dataforgoodfr/staging
Staging to main
2 parents 67ebbf8 + 0581672 commit 2cf6104

21 files changed

+5078
-499
lines changed

.gitignore

+12-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ ipython_config.py
102102
# This is especially recommended for binary packages to ensure reproducibility, and is more
103103
# commonly ignored for libraries.
104104
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
105-
#poetry.lock
105+
poetry.lock
106106

107107
# pdm
108108
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
@@ -131,6 +131,8 @@ venv/
131131
ENV/
132132
env.bak/
133133
venv.bak/
134+
.venv*
135+
venv*
134136

135137
# Spyder project settings
136138
.spyderproject
@@ -160,4 +162,12 @@ dmypy.json
160162
cython_debug/
161163

162164
# Precommit hooks: ruff cache
163-
.ruff_cache
165+
.ruff_cache
166+
167+
etl/zds/.file_versions/*
168+
169+
# Dossier sauvegarde Thibaut
170+
TG_sauv
171+
172+
# Streamlit: credentials
173+
dashboards/app/.credentials.yml
Binary file not shown.

Exploration_visualisation/data/structures_export_cleaned.csv

+561
Large diffs are not rendered by default.

README.md

+42-53
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,42 @@
1-
Template DataForGood
2-
================
3-
4-
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
5-
6-
This file will become your README and also the index of your
7-
documentation.
8-
9-
# Contributing
10-
11-
12-
## Use a venv
13-
14-
python3 -m venv name-of-your-venv
15-
16-
source name-of-your-venv/bin/activate
17-
18-
19-
## Utiliser Poetry
20-
21-
[Installer Poetry](https://python-poetry.org/docs/):
22-
23-
python3 -m pip install "poetry==1.4.0"
24-
25-
Installer les dépendances:
26-
27-
poetry install
28-
29-
Ajouter une dépendance:
30-
31-
poetry add pandas
32-
33-
Mettre à jour les dépendances:
34-
35-
poetry update
36-
37-
## Utiliser Jupyter Notebook
38-
39-
jupyter notebook
40-
41-
and check your browser !
42-
43-
## Lancer les precommit-hook localement
44-
45-
[Installer les precommit](https://pre-commit.com/)
46-
47-
48-
pre-commit run --all-files
49-
50-
51-
## Utiliser Tox pour tester votre code
52-
53-
tox -vv
1+
```
2+
_____ YAao,
3+
|__ /___ _ __ ___ Y8888b,
4+
/ // _ \ '__/ _ \ ,oA8888888b,
5+
/ /| __/ | | (_) | ,aaad8888888888888888bo,
6+
/____\___|_| \___/ _ _ ,d888888888888888888888888888b,
7+
| _ \ ___ ___| |__ ___| |_ ,888888888888888888888888888888888b,
8+
| | | |/ _ \/ __| '_ \ / _ \ __| d8888888888888888888888888888888888888,
9+
| |_| | __/ (__| | | | __/ |_ d888888888888888888888888888888888888888b
10+
|____/_\___|\___|_| |_|\___|\__| d888888P' `Y888888888888,
11+
/ ___| __ _ _ ___ ____ _ __ _ ___ 88888P' Ybaaaa8888888888l
12+
\___ \ / _` | | | \ \ / / _` |/ _` |/ _ \ a8888' `Y8888P' `V888888
13+
___) | (_| | |_| |\ V / (_| | (_| | __/ d8888888a `Y8888
14+
|____/ \__,_|\__,_| \_/ \__,_|\__, |\___| AY/'' `\Y8b ``Y8b
15+
|___/ Y' `YP ~~
16+
```
17+
18+
# Zéro Déchat Sauvage
19+
## À propos
20+
[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.
21+
22+
## Démo
23+
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.
24+
25+
<a href="[URL](https://www.youtube.com/live/7Zvy2PS7Vjg?si=Z3Gduxff0EunXsF7&t=6210)">
26+
<img src="https://i.ytimg.com/vi/7Zvy2PS7Vjg/maxresdefault.jpg?sqp=-oaymwEmCIAKENAF8quKqQMa8AEB-AH-CYAC0AWKAgwIABABGFUgTyhlMA8=&rs=AOn4CLC3vkFGSd9jcNDb0HxMvbdN8kxQyA" alt="video youtube du demo day" width="50%">
27+
</a>
28+
29+
## Remerciement
30+
Merci à l'équipe de développement :
31+
* [Floriane](https://github.com/florianeduccini)
32+
* [Hadrien](https://github.com/DridrM)
33+
* [Mehdi](https://github.com/Mendi33)
34+
* [Vincent](https://github.com/Vincentdata)
35+
* [Thibault](https://github.com/tgazagnes)
36+
* [Linh](https://github.com/linh-dinh-1012)
37+
* [Joaquim](https://github.com/JoaquimDiaz)
38+
* [Valérie](https://github.com/ValerieNevo)
39+
* [Kyllian](https://github.com/KyllianBeguin)
40+
41+
## Licence
42+
Ce projet est sous licence MIT. Plus d'information sur le fichier [LICENCE](https://github.com/dataforgoodfr/12_zero_dechet_sauvage/blob/staging/LICENSE).

dashboards/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ RUN apt-get update
88
RUN mkdir zds
99
WORKDIR zds
1010

11+
RUN apt-get install -y locales
12+
RUN echo "fr_FR.UTF-8 UTF-8" | tee -a /etc/locale.gen && locale-gen fr_FR.UTF-8
13+
1114
COPY app/ ./
1215
RUN pip install -r requirements.txt
1316

dashboards/Dockerfile-dev

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ RUN apt-get update
88
RUN mkdir zds
99
WORKDIR zds
1010

11+
RUN apt-get install -y locales
12+
RUN echo "fr_FR.UTF-8 UTF-8" | tee -a /etc/locale.gen && locale-gen fr_FR.UTF-8
13+
1114
COPY app/requirements.txt .
1215
RUN pip install -r requirements.txt
1316

dashboards/app/.credentials-dev.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
cookie:
2+
expiry_days: 30
3+
key: some_signature_key
4+
name: some_cookie_name
5+
credentials:
6+
usernames:
7+
test:
8+
9+
logged_in: false
10+
name: test
11+
password: $2b$12$fR4sp7tIG.dbeusbr695MOw/xvN1sf.21rML7t7j9pCdIVREIocUO
12+
pre-authorized:
13+
emails:
14+

dashboards/app/.streamlit/config.toml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[theme]
2+
base = "light"

0 commit comments

Comments
 (0)