A website for the University of Toronto Freelancers' Society.
To run the site locally now (since it requires a database connection), there are a few steps you need to take.
- Clone or Reclone the repository. (Delete versions prior to 03/22/2022)
- Run
npm i
in the root directory of the folder you cloned the repository to, and also runnpm i
in the server directory. This installs packages for both the client and the server.
- In the server directory, create a
.env
file (no name, just the extension), and put the following in it.CONNECTION_URL=mongodb+srv://admin:[email protected]/myFirstDatabase?retryWrites=true&w=majority
- In the server directory, run
npm start
- In another terminal, run
npm start
in the root directory - Wait for react to load your webpage and you're done!