Source code for the Gamified Codelabs. Built using Firebase.
##Setting up you gamified codelabs
-
Fork gdgphilippine's repository,
palosebo
git fork https://github.com/gdgphilippines/palosebo.git
-
Create a new Firebase app project.
-
Go to
https://console.firebase.google.com/
-
Click
Create New Project
-
Fill the details and click
Create Project
-
Configure your project.
-
Upon opening your new project, click
Add Firebase to your web app
-
Copy the code from the line
var config = {
untilfirebase.initializeApp(config);
-
Paste the code in
includes/scripts/config.js
-
Save!
-
Configure your Firebase app project.
-
Authentication 1. Go to
Authentication
section on your Firebase console. 2. Click theSet up Sign-in method
. 3. Enable Google as a sign-in provider. 4. Save! -
Database 1. Go to
Database
section on your Firebase module. 2. UnderData
tab, click the three vertical dots icon and selectImport JSON
. 3. Upload thedatabase-data.json
. 4. ClickImport
. -
Rules 1. Go to
Database
section on your Firebase module. 2. Go to theRules
tab. 3. Copy the contents ofdatabase-rules.json
. 4. Paste it to the text editor in Firebase. 5. ClickPublish
. -
Deploy the app to your website!
-
Done!