-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
David Park edited this page Nov 27, 2023
·
5 revisions
We use yarn for managing Node packages.
Check that you have it with
yarn -vIf the command is invalid, install it with
npm install -g yarnClone 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 ./buildThis 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- 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=2097152000docker run --name mongo -p 27017:27017 --restart unless-stopped -d mongo:latest- To start backend, first run Docker, and then in the terminal,
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