a website for residents to City of Cleveland change their Budget to show what they want the city to value and share their proposed budget with their elected councilperson in city government.
Project outline is at: https://docs.google.com/document/d/1ydc5Bw0Ctp8LJFEWECu9f9wMeUfM-FKlhTROik0QJiY/edit
We have a Miro Board to sketch out a wireframe.
You can view our project, live, at https://refundcleveland.com
If something is not behaving as you expected, it could be a bug, or if you have an idea, it can be reported in our issue tracker at https://github.com/opencleveland/refundcleveland
Join our slack channel - #refundcleveland. Complete self-sign up link https://opencle-slack.herokuapp.com/ to join our slack instance.
Most of our features, issues, and discussion is coordinated through our slack channel.
Pre-Requisites:
git clone https://github.com/refundcleveland
cd refundcleveland
pip3 install -r requirements.txt
If you need to install PostgreSQL, please follow these steps:
psql -U postgres
. This is the default superuser. Enter the password you created.CREATE DATABASE <databaseName>;
.python3 manage.py migrate
within the command line to create tables within your database.Copy and rename local_settings_template.py to local_settings.py, and fill in environmental variables:
SECRET_KEY
-- Django’s Secret Key used by the project
GOOGLE_API_KEY
-- Used for Google's Civic Information API to map Address to Political Ward
MAILGUN_API_KEY
-- Used for the Mailgun API that sends out emails when a user submits a budget
DATABASES
-- map of parameters to define the connection to a database. In prod, we are using a postgres db hosted on heroku, and the connection is injected there via config vars. For local versions, enter the information you used when creating the database. Example:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'refund1',
'USER': 'postgres',
'PASSWORD': '<password>',
'HOST': 'localhost',
'PORT': '5432',
}
}
python3 manage.py runserver
Navigate to http://localhost:8000/
This is currently done through heroku.
We used the following open source libraries/tools: d3, django, python3, postgres, Google Civic Information API
css-range-margins
would be appropriate. MIT License