Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

philly-councilmatic

#Designs/Wireframes

Provided by TK Rodgers here. Much thanks!

Getting set up on Heroku

Provision your project

heroku apps:create <city>-councilmatic

Promote your desired database. Running heroku pg will list your added databases. Choose the one you want to use. If there are none there, add one with heroku addons:add heroku-postgresql. Note that if you want to use location queries and such, you must at least install the Yanari DB: heroku addons:add heroku-postgresql:standard-yanari.

heroku pg:promote HEROKU_POSTGRESQL_<color>_URL

If you do want to use location functionality, enable PostGIS.

heroku pg:psql
CREATE EXTENSION postgis;
\q

Sync DB Migrate Copy over the database? -- Load in current councilmember data

Copy desired search URL to SEARCH_URL Commit and push Start a scrape

Make sure the legislation settings are right Set up periodic scrapes (you can use Scheduler)

bin/update_data

About

Philly instance of Councilmatic

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.