Skip to content

Commit

Permalink
Merge pull request #4 from andronat/master
Browse files Browse the repository at this point in the history
Update project to a working state
  • Loading branch information
haydenjameslee authored Apr 3, 2020
2 parents 0dc2cc9 + 6a7a014 commit d3f56ae
Show file tree
Hide file tree
Showing 13 changed files with 7,778 additions and 4,257 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Steps to setup Firebase:

1. [Sign up for a Firebase account](https://firebase.google.com/)
2. Create a new Firebase project
3. Go to Database -> Rules and change them to the following (warning: not safe for production, just developing)
3. Go to Database -> Realtime Database -> Rules and change them to the following (warning: not safe for production, just developing)
```javascript
{
"rules": {
Expand All @@ -43,19 +43,26 @@ After setting up firebase include and configure `naf-firebase-adapter`.
```html
<html>
<head>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
<script src="https://unpkg.com/networked-aframe/dist/networked-aframe.min.js"></script>
<!-- Include naf-firebase-adapter *after* networked-aframe -->
<script src="https://unpkg.com/naf-firebase-adapter/dist/naf-firebase-adapter.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.0.0/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.13.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.13.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.13.1/firebase-database.js"></script>/script>

<!-- Set the Firebase credentials -->
<script>
window.firebaseConfig = {
authType: 'none',
apiKey: 'your-api-key',
authDomain: 'xxx.firebaseapp.com',
databaseURL: 'https://xxx.firebaseio.com'
databaseURL: 'https://xxx.firebaseio.com',
projectId: "your-projectId",
storageBucket: "your-storageBucket",
messagingSenderId: "your-messagingSenderId",
appId: "your-appId",
measurementId: "your-measurementId"
};
</script>
</head>
Expand Down
Loading

0 comments on commit d3f56ae

Please sign in to comment.