Park Compass (http://parkcompass.com) lets users discover parks by location and park facility search. It makes use of Google Maps, MYSQL, PHP, SASS, GRUNT, JSON & jQuery. Parks data provided by the open data projects of the cities of Vancouver & North Vancouver.
Note: This was a student project - so it needs lots of love before it's truly "production ready" :) Also, just a heads up that these instructions may not be comprehensive. Let me know if you find anything missing.
#####Install the following on your local machine:
- Node & NPM
- Ruby (already installed on mac)
- SASS
- Compass
#####Clone repo
git clone git@github.com:tnt0932/ParkCompass.git
#####Set up mysql database
- current park database located at
resources>parkcompass_*.sql
#####Set up config files
- rename
db_config_demo.php
todb_config.php
and fill with local database info. - copy
db_config.php
into dist folder and populate with production database info
#####Set up local variables
- rename
project_vars_demo.php
toproject_vars.php
and populate (enter bit.ly account info to enable link shortening)
#####Install project dependencies Navigate into the Park Compass repo folder and enter the following to install the package.json dependencies
sudo npm install
#####Run grunt watch task to compile sass on save
grunt
#####Run grunt dist task to package everything up into the dist folder
grunt dist