-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
David Park edited this page Oct 19, 2023
·
3 revisions
We use yarn
for managing Node packages.
Check that you have it with
yarn -v
If the command is invalid, install it with
npm install -g yarn
Clone the repository
git clone --depth=1 https://github.com/csse-uoft/Pathfinder
--depth=1 signifies that we only care about the most recent commits.
- First, move into the frontend folder and install dependencies by typing the following lines in the shell. (npm is also required)
cd Pathfinder/frontend
npm install -g yarn
yarn install
- Then, you can start frontend by typing,
yarn start
- To build frontend,
yarn build
- To serve built frontend,
npx serve -s ./build
This information can also be found in README.md
in frontend
folder.
- To install dependencies, type the following lines in the shell.
cd ../backend
npm install -g yarn
yarn install
- Copy
.env
to./backend/.env
.env
includes credentials for mailing server.
- Also start GraphDB and MongoDB by,
docker run -p 7200:7200 -d --name graphdb --restart unless-stopped -t ontotext/graphdb:10.0.2 --GDB_HEAP_SIZE=6G -Dgraphdb.workbench.maxUploadSize=2097152000
docker run --name mongo -p 27017:27017 --restart unless-stopped -d mongo:latest
- To start backend,
yarn start
- To allow Self-Signed Localhost certificate, in chrome, enable
chrome://flags/#allow-insecure-localhost
- Then reboot the chrome.
This information can also be found in README.md
in backend
folder.
© 2023 University of Toronto, CSSE