Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.55 KB

CONTRIBUTING.md

File metadata and controls

71 lines (46 loc) · 1.55 KB

Project Requirements

  • Node.js software to be installed in local machine.

GuideLines to run the project Locally

  1. Create a folder in the directory where you want to Clone this project.
  2. Create 2 sub-folders inside the folder that you created and name them the following:
  • Server
  • Website
  1. After creating the folder Structure should look like this:

Folder Structure image

  1. Clone this repo inside the Website folder.
  2. 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
  1. Come inside the Website folder go to src/contexts/InitialState.js
  2. Comment this line:
origin: "https://vast-scrubland-97353.herokuapp.com",
  1. Uncomment this line:
 origin: "http://localhost:5000",
  1. Save Changes to the file.
  2. Install all dependencies by running the below command in both Website & Server folder.
npm i
  1. Run the project by running the following command from the Website folder:
npm run dev

Steps to be followed before pushing

  1. Come inside the Website folder go to src/contexts/InitialState.js
  2. Uncomment this line:
origin: "https://vast-scrubland-97353.herokuapp.com",
  1. Comment this line:
 origin: "http://localhost:5000",
  1. Create a pull request in dev branch.