Node.js software to be installed in local machine.
GuideLines to run the project Locally
Create a folder in the directory where you want to Clone this project.
Create 2 sub-folders inside the folder that you created and name them the following:
After creating the folder Structure should look like this:
Clone this repo inside the Website
folder.
Pull the server repo with this command inside the Server
folder.
git remote add origin " https://github.com/soumalyatheking22012001/IICCovidHelpServer.git"
git pull origin main
Come inside the Website
folder go to src/contexts/InitialState.js
Comment this line:
origin: " https://vast-scrubland-97353.herokuapp.com" ,
Uncomment this line:
origin: " http://localhost:5000" ,
Save Changes to the file.
Install all dependencies by running the below command in both Website
& Server
folder.
Run the project by running the following command from the Website
folder:
Steps to be followed before pushing
Come inside the Website
folder go to src/contexts/InitialState.js
Uncomment this line:
origin: " https://vast-scrubland-97353.herokuapp.com" ,
Comment this line:
origin: " http://localhost:5000" ,
Create a pull request in dev
branch.