This README outlines the details of collaborating on this Ember application.
You will need the following things properly installed on your computer.
In order to deploy the application to Firebase, you will also need the following installed.
- firebase tools - Install via
npm install -g firebase-tools
git clone <repository-url>
this repository- change into the new directory
npm install
ember install
For security reasons, we've locked down the main application db to only known users at this time. If you'd like to get added to our main development db, send me a note. This is the fastest setup option. :)
However, if you would like to spin up your own environment, follow these instructions (10-15min):
- Setup a new firebase (https://www.firebase.com).
- Find "setup/nag-admin-starter.json". This includes all the expected reference and starter data. 1. You need to have at least one user administrator in order to log in and get stuff started. 2. Find the "users" branch in the json and add your google account email. Make sure you replace and periods (".") with a pipe ("|").
- Import the edited nag-admin-starter.json into your firebase.
- Setup Login & Auth - the app is currently written for google auth.
- Create a new project at https://console.developers.google.com
- OAuth: Follow instructions from firesabe on how to setup a new oauth clientid
- Maps: Add Maps APIs (Embed, Engine, Geolocation, Javascript)
- Storage: Add Cloud Storage APIs (JSON)
- Compute: Add google compute if you want to use it to run the "setup/nag-es-firebase-lstnr.js"
ember server
- Visit your app at http://localhost:4200.
- Create a new run configuration
- Choose a name
- Set the command:
ember server --port $PORT --live-reload false
- Visit the application at -.c9.io
- You will need to add your domain to Google and/or Firebase oauth in order to log in.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)firebase deploy
ember build --environment production
(production)firebase deploy -f nag-admin
- ember: http://emberjs.com/
- ember-cli: http://www.ember-cli.com/
- Development Browser Extensions
- Error Reporting provided by Raygun - https://raygun.io