Monfort_wiki uses a Flask python server and an EmberJs front end.
- The Search Query is case sensitive and will only work for Wiki pages which have an InfoBox Template. For Example: "New York" will return a result, however "New york" will return an error
- Due to learning the frameworks, and time constraints, tests were not accurately testing the app and so they were removed.
- When retreiving the list of tasks, the code uses redis "keys" instead of storing those keys in a set and retreiving that set, as should be done in production environments.
- This project does not make use of Ember Data, or explicit Ember promises.
- Install Python 2.7.9
- Install Redis on port 8000
- Install Flask using
pip install Flask - Install EmberJS using
npm install -g [email protected] - If you do not have npm installed, you may install it using
brew install npmorlinuxbrew install npm - Install PhantomJS for running tests
npm install -g phantomjs-prebuilt
-
In the main folder run
python monfort_wiki.pyto start up the backend service on localhost:5000/ -
Start the Celery Worker -
celery -A monfort_wiki.celery worker -
From the command line enter:
cd wiki-searchand then runember sto start up the front end on localhost:4200/
- Python 2.7.9
- Flask
- Celery
- celery_once
- html5lib
- redis
- flask-redis
- flask-cors