- You'd best go get Node/NPM and (Bower)[http://bower.io/] if you haven't already.
- Run
npm install
andbower install
to download all dependencies. - Create a firebase.
- Log into your firebase and enable Simple Login with Email & Password.
- Save new security rules like so.
{
"rules": {
"users": {
"$user": {
".read": "$user == auth.id",
".write": "$user == auth.id"
}
}
}
}
- Copy /app/env.js.dist to /app/env.js and modify values appropriately.
- If you're going to deploy to Amazon, get an S3 account and add something like the following to your environment, usually by appending to ~/.bash_profile
export AMAZON_ACCESS_KEY_ID="YOURAMAZONACCESSKEYID"
export AMAZON_SECRET_ACCESS_KEY="YOURAMAZONSECRETACCESSKEY"
export QUIVER_INVOICE_FIREBASE="https://yourfirebase.firebaseIO.com"
- Run
grunt server
to launch a development instance of the application. Otherwise, rungrunt build
to build orgrunt deploy
to build and deploy to Amazon S3.