-
Notifications
You must be signed in to change notification settings - Fork 0
Developer Guide
David Park edited this page Oct 18, 2023
·
13 revisions
What is Pathfinder? Explain what this web-based application does.
Explain benefits of this project. What can developers earn out of this project? (Why do they need to use this?)
(Use the sidebar on the right to move to the section that you're looking for)
JavaScript, React
Sparkle, GraphDB, MongoDB
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- You should have received
.envfile. Copy.envto./backend/.env
.envincludes 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=2097152000docker 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