How to City teaches you how to use the internet to increase your quality of life, be more effecient at work, and perhaps even how to be a better citizen.
This is the API that powers the various How to City applications.
Some example API calls:
http://howtocity.herokuapp.com/api/v1/categories
http://howtocity.herokuapp.com/api/v1/lessons
http://howtocity.herokuapp.com/api/v1/steps
How to City is written in Python, and runs as a standalone Flask application.
-
For local development, uncomment the settings in setup.sh and set the correct values for your environment.
-
Run a virtual environment and install all the requirements.
source setup.sh -
Run application.
python runserver.py -
Add content through the Admin panel.
In the spirit of free software, everyone is encouraged to help improve this project.
Here are some ways you can contribute:
- by using alpha, beta, and prerelease versions
- by reporting bugs
- by suggesting new features
- by translating to a new language
- by writing or editing documentation
- by writing specifications
- by writing code (no patch is too small: fix typos, add comments, clean up inconsistent whitespace)
- by refactoring code
- by closing issues
- by reviewing patches
- financially
We use the GitHub issue tracker to track bugs and features. Before submitting a bug report or feature request, check to make sure it hasn't already been submitted. You can indicate support for an existing issue by voting it up. When submitting a bug report, please include a Gist that includes a stack trace and any details that may be necessary to reproduce the bug.
- Fork the project.
- Create a topic branch.
- Implement your feature or bug fix.
- Commit and push your changes.
- Submit a pull request.
Copyright (c) 2013 Code for America. See LICENSE for details.

