Visit here for the website: https://isacottbus-btu.web.app/
- During development/editing of website, to see the webisite locally use
npm run dev
- Never push to
main
branch. Always merge PR to this branch.- Doing a merge will automatically deploy the recent build code to production
- Always create a branch for doing a development and then create a
PR to main branch
. - Before accepting to merge, check if the
github action is success
- Setup
firebase hosting
(Admin)
- Refer to this link for more: https://firebase.google.com/docs/hosting/
- Install firebase cli
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
- Setup
node.js, next.js
(Contributors)
- Refer this documentation to install nextjs https://beta.nextjs.org/docs/installation. (optional)
- Requires node.js version 16+ (Install using this link: https://nodejs.org/en/)
cd
into isac/ and runnpm install
npm run lint
: Check the linting of the source code.npm run build
: Builds the app for production to the.next
andout
folder.npm run deploy
: Deploys the website to firebase.