Skip to content

Commit 6be1eb0

Browse files
committed
readme cleanup; WIP deploy
1 parent e616e6a commit 6be1eb0

File tree

1 file changed

+24
-53
lines changed

1 file changed

+24
-53
lines changed

README.md

Lines changed: 24 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,39 @@
1-
# Template DataForGood
1+
# Taxplorer website for CbCR data visualization
22

3-
This file will become your README and also the index of your
4-
documentation.
3+
The repository contains the source code for the
4+
[https://www.taxplorer.eu](https://www.taxplorer.eu) Taxplorer website for
5+
Country-By-Country Report data visualization.
56

6-
# Contributing
7-
8-
## Installer Poetry
9-
10-
Plusieurs [méthodes d'installation](https://python-poetry.org/docs/#installation) sont décrites dans la documentation de poetry dont:
11-
12-
- avec pipx
13-
- avec l'installateur officiel
14-
15-
Chaque méthode a ses avantages et inconvénients. Par exemple, la méthode pipx nécessite d'installer pipx au préable, l'installateur officiel utilise curl pour télécharger un script qui doit ensuite être exécuté et comporte des instructions spécifiques pour la completion des commandes poetry selon le shell utilisé (bash, zsh, etc...).
16-
17-
L'avantage de pipx est que l'installation de pipx est documentée pour linux, windows et macos. D'autre part, les outils installées avec pipx bénéficient d'un environment d'exécution isolé, ce qui est permet de fiabiliser leur fonctionnement. Finalement, l'installation de poetry, voire d'autres outils est relativement simple avec pipx.
18-
19-
Cependant, libre à toi d'utiliser la méthode qui te convient le mieux ! Quelque soit la méthode choisie, il est important de ne pas installer poetry dans l'environnement virtuel qui sera créé un peu plus tard dans ce README pour les dépendances de la base de code de ce repo git.
20-
21-
### Installation de Poetry avec pipx
22-
23-
Suivre les instructions pour [installer pipx](https://pipx.pypa.io/stable/#install-pipx) selon ta plateforme (linux, windows, etc...)
24-
25-
Par exemple pour Ubuntu 23.04+:
7+
It has been developed during the 12th season of [dataforgood](https://dataforgood.fr/).
268

27-
sudo apt update
28-
sudo apt install pipx
29-
pipx ensurepath
9+
The website is deployed on
10+
[https://www.taxplorer.eu](https://www.taxplorer.eu/). The `main` branch is the
11+
one deployed on the production website .
3012

31-
[Installer Poetry avec pipx](https://python-poetry.org/docs/#installing-with-pipx):
13+
The `dev` branch is deployed on the developpement website [https://dev.taxplorer.eu](https://dev.taxplorer.eu)
3214

33-
pipx install poetry
34-
35-
### Installation de Poetry avec l'installateur officiel
36-
37-
L'installation avec l'installateur officiel nécessitant quelques étapes supplémentaires,
38-
se référer à la [documentation officielle](https://python-poetry.org/docs/#installing-with-the-official-installer).
39-
40-
## Utiliser un venv python
41-
42-
python3 -m venv .venv
43-
44-
source .venv/bin/activate
45-
46-
## Utiliser Poetry
47-
48-
Installer les dépendances:
49-
50-
poetry install
15+
# Contributing
5116

52-
Ajouter une dépendance:
17+
If you want to contribute a new feature, please fork the `ðev` branch and
18+
propose a pull request. Once accepted, it will integrate the `dev` branch and
19+
eventually be deployed on the production website once a release is created by
20+
syncing the `main` branch with the `dev` branch.
5321

54-
poetry add pandas
22+
# Local development environment
5523

56-
Mettre à jour les dépendances:
24+
## Environment installation
5725

58-
poetry update
26+
TBD
5927

60-
## Lancer les precommit-hook localement
28+
## Pre-commit
6129

62-
[Installer les precommit](https://pre-commit.com/)
30+
To run the pre-commit, follow the instructions on how to [install pre-commit](https://pre-commit.com/) and then run them with :
6331

6432
pre-commit run --all-files
6533

66-
## Utiliser Tox pour tester votre code
34+
The pre-commit must be run before proposing a pull request, otherwise the CI/CD
35+
will complain about your proposed feature.
36+
37+
## Deployment
6738

68-
tox -vv
39+
TBD

0 commit comments

Comments
 (0)