Skip to content

Latest commit

 

History

History
52 lines (47 loc) · 2.19 KB

deploy.md

File metadata and controls

52 lines (47 loc) · 2.19 KB

Deploy to Firebase

  1. Setup Environment for the Firebase deployment
    • Install Firebase CLI: npm i -g firebase-tools or yarn global add firebase-tools
  2. Create Firebase account and login into Firebase CLI: firebase login
  3. Open Terminal/CMD/Powershell in your dir.
  4. Now type firebase login command in your Terminal/CMD/Powershell.
  5. Type firebase init.
  6. Select the project by using the arrow keys.
  7. Then Select the Firebase Hosting by using Spacebar and arrow key.
  8. Click No for Single page web app.
  9. Type dist.
  10. Some by default file will be created successfully.
  11. Run locally
    • firebase serve or npm run serve or yarn serve
  12. Update Firebase.json file
        {
            "hosting": {
                "public": "dist",
                "rewrites": [ {
                    "source": "**",
                    "destination": "/index.html"
                } ],
                "ignore": [
                    "firebase.json",
                    "**/.*",
                    "**/node_modules/**"
                ]
            }
        }
  13. Build and deploy
    • firebase deploy or npm run deploy or yarn deploy
  14. The URL to your live site is listed in the output.
  15. Enjoy

Admin Panel

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.

  1. Log in to the [Firebase account].(https://console.firebase.google.com)

    • Select the project linked with Aura for hosting.
  2. 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).
  3. Click on Sign-in method and select Email/Password as your provider.

  4. Hit Save and move to the 'Users' Tab.

  5. Create a new user by clicking on 'Add User'.

  6. Enter the desired email and password to create and save the new user.

  7. The same user can be used to access the admin panel located at http://<base_link_of_project>/admin.

  8. Enjoy.