Pyronear's official website.
Preserving forests from wildfires one commit at a time
Make sure you have docker and the compose plugin installed. Get into the root folder using your favorite shell and:
docker compose upThat's it! Now head to http://{your-server}:4000
You can stop (ctrl+C) and relaunch the command to refresh the website after changing the _config.yml file.
Be sure to set Jekyll up and running, and then install the plugins as follows:
bundle installFinally, you can run the website using:
bundle exec jekyll serveTo edit/add/remove text, go to _config.yaml.
This website uses a Google spreadsheet with a Google script in order to sends and receive emails without the need to setup a server.
The file is stored in Pyronear's Google Drive.
More details here
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
- Add its digram to the list of supported languages in
_config.ymlcalledlanguages. - Copy the
enfolder and rename it to your new language digram - Edit the
index.htmlin it, to modify the digram of the target layout - Copy
_layouts/front-en.htmland rename it by replacing the digram. - Edit the file
langattribute - Finally, write all the translations at the bottom of
_config.ymlby adding a new entry tot(don't change any key name!)
Congrats, you've added a new language!