HackED Hackathon 2016 Submission.
Locally sourced data and free range programmers provide high quality cruelty free picnic recommendations.
This project was generated with the Angular Full-Stack Generator version 3.0.0.
- Git
- Node.js and NPM >= v0.12.0
- Bower (
npm install --global bower
) - Ruby and then
gem install sass
- Grunt (
npm install --global grunt-cli
) - MongoDB - Keep a running daemon with
mongod
- Pip - package installer for Python (will need to manually install for windows)
- pymongo
-
Run
npm install
to install server dependencies. -
Run
bower install
to install front-end dependencies. -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running -
Run
grunt serve
to start the development server. It should automatically open the client in your browser when ready.
-
Install pip if you do not have it by following the link. Note for windows config
-
Run
pip install pymongo
to install pymongo
-
cd to /scripts/data and run
python <script>
-
Use
python parklands.py
andpython trees.py
to start
Run grunt build
for building and grunt serve
for preview.
Running npm test
will run the unit tests with karma.
- To enable the polygon drawing, must modify the angular-google-maps.js bower component in client
nano client/bower_components/angular-google-maps/dist/angular-google-maps.js
# go to line 1300
# Change:
# }, trackMaxVertices);
# To:
# }.bind(this), trackMaxVertices);