- Setup Environment for the Firebase deployment
- Install Firebase CLI:
npm i -g firebase-tools
oryarn global add firebase-tools
- Install Firebase CLI:
- Create Firebase account and login into Firebase CLI:
firebase login
- Open Terminal/CMD/Powershell in your dir.
- Now type
firebase login
command in your Terminal/CMD/Powershell. - Type
firebase init
. - Select the project by using the arrow keys.
- Then Select the
Firebase Hosting
by using Spacebar and arrow key. - Click
No
for Single page web app. - Type
dist
. - Some by default file will be created successfully.
- Run locally
firebase serve
ornpm run serve
oryarn serve
- Update Firebase.json file
{ "hosting": { "public": "dist", "rewrites": [ { "source": "**", "destination": "/index.html" } ], "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ] } }
- Build and deploy
firebase deploy
ornpm run deploy
oryarn deploy
- The URL to your live site is listed in the output.
- Enjoy
Aura does provide a central panel to manage your Team Members, Speakers, Push Messaging as well as to view insights of event like name, venue, date, status, no of RSVPs) using meetup.com API.
-
Log in to the [Firebase account].(https://console.firebase.google.com)
- Select the project linked with Aura for hosting.
-
From left navigation drawer select Authentication option and click on 'Sign-in Method' tab.
- Enable the sign-in provider by toggling the switch in the dialogue box (Make sure you don't enable passwordless sign in).
-
Click on Sign-in method and select Email/Password as your provider.
-
Hit Save and move to the 'Users' Tab.
-
Create a new user by clicking on 'Add User'.
-
Enter the desired email and password to create and save the new user.
-
The same user can be used to access the admin panel located at
http://<base_link_of_project>/admin
. -
Enjoy.