Interactive infographic for exploring US survey results on climate change emotions among young people aged 16-25, from the following study:
See also the Contributing Guidelines for more information.
To install the app from source:
-
Clone the repository
NOTE: To use SSH keys to clone the repo and private submodule, run the following command first to ensure that
git://
URls are used automatically:git config --global url.git@github.com:.insteadOf https://github.com/
git clone https://github.com/neurodatascience/us_climate_emotions_map.git # Or, to clone and directly install the data submodule all at once: git clone --recurse-submodules --branch main https://github.com/neurodatascience/us_climate_emotions_map.git
-
Create a Python environment and install the app and developer dependencies:
pip install -r requirements.txt pip install -r requirements_dev.txt
-
To set up code formatting and linting, run:
tox
Now, a number of code linters and formatters should automatically run when you try to commit a local change.
-
To install the data submodule, if you did not do so in step 1:
git submodule init git submodule update
To update the submodule in your local clone to the latest revision in this repository:
git submodule update
To launch the app locally:
python -m climate_emotions_map.app