Skip to content
Branch: master
Go to file
Code

Latest commit

Files

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

README.md

##Getting Started

###You will need

  • MongoDB
  • Elasticsearch

To be running on localhost

###Install Dependencies

pip install -r requirements.txt

###Running the server

python main.py

Run with --reindex to load the data from OpenAhjo into elasticsearch

Run with --debug for live reloading and stack traces

###Sending Notifications

To send notifications you will need to have your mailgun credentials in mailgun.json (see the example file). Then run

python main.py --mailshot

###Tests

Before pushing:

./pre_push.sh

#####Unit tests:

nosetests

To include print output:

nosetests -s

#####Code style checks:

pep8 .

##Front End

Default will watch the sass:

gulp

To output minified css:

gulp build --production true

About

Spike for indexing data from the Open Ahjo API in elasticsearch

Resources

Releases

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