-
Install NVM on your system.
-
During installation, avoid a path where the name involves a space to avoid any problems while running nvm in terminal.
-
Open Git Bash terminal in admin mode and list the installed node versions using
nvm list -
Version currently active has a
*before its name. -
You need
node 14.15.1to build and run this project. -
If the list doesn't have this version you need to install it using nvm. To install the version, enter the following command:
nvm install 14.15.1
-
List the versions once again to make sure that the installation was successful then, restart the terminal.
-
Go to the
sae-nitkkrdirectory inFullStackWebsiteDevelopmentand switch to the version:nvm use 14.15.1
-
Run
npm installto install all packages required for running the project. -
Finally, run
npm start.
Hooray!! Your project will take some time to build and run on localhost:3000. Make sure no other app is using that port.
- Install Firebase CLI globally.
npm install -g firebase-tools - Go to
sae-nitkkrdirectory inFullStackWebsiteDevelopmentand update build after making changes.npm run build - Login to firebase if using first time.
firebase login - Deploy on firebase (Must have permissions to deploy)
firebase deploy
Website will be updated successfully !!!