Skip to content

VinayIN/isac

Repository files navigation

ISAC-BTU

Deployment

Visit here for the website: https://isacottbus-btu.web.app/

Development guidelines

  1. During development/editing of website, to see the webisite locally use npm run dev
  2. Never push to main branch. Always merge PR to this branch.
    • Doing a merge will automatically deploy the recent build code to production
  3. Always create a branch for doing a development and then create a PR to main branch.
  4. Before accepting to merge, check if the github action is success

Setup:

  1. Setup firebase hosting (Admin)
npm install -g firebase-tools
  • login to firebase and link your project isac-btu
firebase login
firebase init
# Set public folder to out
  • Deploy the service using npm run deploy
  1. Setup node.js, next.js (Contributors)

Some commands

  1. npm run lint: Check the linting of the source code.
  2. npm run build: Builds the app for production to the .next and out folder.
  3. npm run deploy : Deploys the website to firebase.