Create a configuration:
cp config.example.json config.json
To enable Foursquare functionality, replace client_id
and client_secret
in Gruntfile.js with your Foursquare client ID/secret.
Run build script:
sh build.sh
Once installed, there are several ways to run PE:
- iPhone emulator (requires ios-sim -
brew install ios-sim
if not there):
phonegap run ios
- Android emulator (requires Android dev tools):
phonegap run android
- XCode (enables running on iPhone/iPad emulators as well as connected devices):
phonegap build ios
Start XCode, browse to the /platforms/ios and open PublicEducation.xcodeproj
- Browser
grunt server