Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,19 @@ To start off, you will need to set up an account with Firebase:
* Navigate to [firebase.com](https://www.firebase.com/) and click `Sign Up`
* Create an app (named whatever you want)
* Click on your new app's URL
* Navigate to the `Login & Auth` section of your dashboard and check the `Enable Email & Password Authentication` checkbox.
* Navigate to the data tab and then copy the URL from your address bar. It should have the form of `https://<your-app-name>.firebaseio.com`.
* Open the `src/app/noterious.js` file and replace the `ENDPOINT_URI` constant with the URL you copied. MAKE SURE there is a trailing slash at the end of the URL.
* Navigate to the `Authentication` section, then go to the `Sign-in method` tab and enable the `Email/Password` provider
* Navigate to the `Database` section and provision the database
* Inside the `Database` section, go to `Real Database`, and in the `Rules` tab change the read/write permissions to true:
```JSON
{
"rules": {
".read": true,
".write": true
}
}
```
* Go to the `Data` tab and copy the URL of your database (it should have the form of `https://<your-app-name>.firebaseio.com`)
* Open the `src/app/noterious.js` file and replace the `ENDPOINT_URI` constant with the URL you copied; MAKE SURE there is a trailing slash at the end of the URL
* Open the `src/app/common/services/auth-service.js` and modify `config` according to the template you can find on `https://console.firebase.google.com/project/<your-app-name>/settings/general/` clicking `Add Firebase to your web app` button

Run the App
Expand Down
9 changes: 9 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,15 @@ module.exports = function(config) {
// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['PhantomJS'],

// for Chrome and VSCode debugging use the following config:
// browsers: ['ChromeDebugging'],
// customLaunchers: {
// ChromeDebugging: {
// base: 'Chrome',
// flags: [ '--remote-debugging-port=9333' ]
// }
// },


// Continuous Integration mode
Expand Down
Loading