Add pipenv command to set up the environment

master
djib 3 years ago
parent a26ba38bdb
commit 94f65b3112
  1. 4
      README.md

@ -7,7 +7,7 @@ To run the script you need to fill in `config.sample.json` and to rename it to `
You will need a [API key from OWM](https://home.openweathermap.org/api_keys), and [one from FreeMobile](https://www.freenews.fr/freenews-edition-nationale-299/free-mobile-170/nouvelle-option-notifications-par-sms-chez-free-mobile-14817).
See `Pipfile` for the script's requirements (you probably only need to install `pyowm`).
See `Pipfile` for the script's requirements for instance by running `pipenv install` (you probably only need to install `pyowm`).
Sample output:
```
@ -27,7 +27,7 @@ Pour lancer le script, vous avez besoin d'ajuster les éléments du fichier `con
Vous aurez besoin d'une [clef API OpenWeatherMap](https://home.openweathermap.org/api_keys), et une [clef API SMS FreeMobile](https://www.freenews.fr/freenews-edition-nationale-299/free-mobile-170/nouvelle-option-notifications-par-sms-chez-free-mobile-14817).
Vous devrez installer les librairies décrites dans `Pipfile` (a priori uniquement `pyowm`).
Vous devrez installer les librairies décrites dans `Pipfile` par exemple en exécutant `pipenv install` (a priori vous aurez uniquement besoin de `pyowm`).
Exemple de SMS:
```

Loading…
Cancel
Save