Skip to content

Simple file sharing app built using Ember.js, Firebase and ember-cli-zuglet

Notifications You must be signed in to change notification settings

ampatspell/kaste

Repository files navigation

kaste

# user who can set roles for other users
$ firebase functions:config:set users.admin="<uid>"
$ firebase functions:config:set environment.region="europe-west2"
// make someone uploader
let store = Ember.Namespace.NAMESPACES[0].__container__.lookup('service:store');
await store.setRole('target-uid', 'uploader');

Fork

To deploy it in your own firebase project:

  • config.js → update production environment config
  • firebase/.firebaserc → set project id for production
$ npm install
$ cd firebase/functions && npm install
$ FIREBASE=production npm run deploy:all