To start up Firebase: (Begin in root directory i.e. CSE110-Project)
-
npm install -g firebase-tools
-
firebase login
-
cd website-html (go to root directory of your website project)
-
firebase init choose follows (1)hosting (2)existing project -> tritongroups ? What do you want to use as your public directory? . ? Configure as a single-page app (rewrite all urls to /index.html)? No ? Set up automatic builds and deploys with GitHub? (y/N) N ? Overwrite 404.html or Index.html file? No, No
-
firebase deploy
-
firebase emulators:start (to test it locally. go to http://localhost:5000/ afterward) (To test on the world wide web, visit https://tritongroups-c26fa.web.app/)
To start up Express Server:
- Open a new terminal
- Navigate to root directory of project (i.e CSE110-Project)
- npm install
- npm start
Once you have completed both of these workflows visit localhost:5000.