Motivated by social science which shows that most Americans are concerned with but rarely talk about climate change, a small team of climate and computer scientists decided to make a game that fosters friendly conversations about historical climate events. We share how our goal of promoting civil conversations about climate change and our love for python led to the construction of our game, ‘Kitchen Table Climate Conversations.’
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
While developing this we've been trying out a few different platforms, and requirements to run them vary accordingly. Right now, we are working with the web version, but also include requirements for the command line and kivy versions.
We use Flask v0.10.1. Other versions may work, but have not been tested.
pip install Flask
No special reqiurements.
We use kivy v1.9.1. Other versions may work, but have not been tested.
pip install kivy
- Install prerequisites (see above).
- Download this repository and navigate to the main folder.
- If desired, modify the data source used in
$ClimateConversationsCore.py$ .
- If desired, modify the data source used in
- Webapp:
- If desired, modify the port and host address of the Flask app in
$play_webapp.py$ (one of the last lines). - Run
python play_webapp.py
- Navigate to the host address.
- (Note: this will eventually change to a much nicer config file setup!)
- If desired, modify the port and host address of the Flask app in
- Command line:
- Run
python play_commandline.py
- Run
- Kivy:
- Cross your fingers that nothing breaks.
- Run
python play_ui.py
Currently, I've been running this on a free tier AWS:
- Set up a micro EC2 instance, and open port 80 (or a port of your choosing -- change accordingly in
play_webapp.py
). - Install dependencies.
- Download this repository and navigate to the main folder.
- Modify the port and host address of the Flask app in
play_webapp.py
:
Host: 0.0.0.0
Port: 80
(or a port of your choosing, but make sure it's open on your AWS instance)
- Open a screen with logging (
screen -L
; there is probably a better/more secure way to do this.) - Run
$sudo python play_webapp.py$
- Flask - The web framework used
See the list of contributors who participated in this project.
- Thanks to all those who have contributed to our question database, testing,