The official app for Megaphone Magazine, helps customers find and pay vendors on the streets of Vancouver and Victoria, BC. You can use this code under Non-Profit Open Software license and make the necessary changes to make it work with your street paper and your city.
This app is built with Ember and can be packaged for iOS and Android using Cordova.
The server-side applcation is in a separate repository: Megaphone Server
You will need the following things properly installed on your computer:
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
ember server
- Start the Megaphone Server
- Visit your app at http://localhost:4200.
ember build
(development)ember build --environment production
(production)
- Create a new Cordova project
- You'll need the following plugins:
- CardIO:
card.io.cordova.mobilesdk
- Notification:
cordova-plugin-dialogs
- Geolocation:
cordova-plugin-geolocation
- Google Universal Analytics Plugin:
cordova-plugin-google-analytics
- Mixpanel:
cordova-plugin-mixpanel
- Splashscreen:
cordova-plugin-splashscreen
- StatusBar:
cordova-plugin-statusbar
- Whitelist:
cordova-plugin-whitelist
- PushPlugin:
phonegap-plugin-push
- CardIO:
- Copy the built ember app to the root of the cordova project (www folder)
- Build the app for your desired platform:
cordova build ios --release
cordova build android --release