DSA Project 3, Team 27
Created by Hemdutt Rao, Kai McFarlane, and Joshua Brunk
- Clone our repositry to your local machine.
- After cding into the my-app directory Run
npm installto install necessary packages to run code. - Install CLion on your device.
- Run in the my-app directory
npm run startinside the my-app directory to start the front-end server on port 3000.
- Open up the Clion Implementation folder, CLION should auto config everything using the cmakeList.txt. Then click the run button and it will say that you don't have Asio installed. Click Fix in the command line and click install with new vcpkg and it should install and now run. We have had numerous issues with clion actually working properly though so if it doesn't do the instructions below.
- Open up a new project in CLion named Untitled2.
- Copy and Paste all contents of the CLionImplementation folder in the repsotory into the main directory of your CLion project.
- If asked,
overwrite?, clickoverwrite all. - Hit green arrow in top right to run the server.
- If error appears due to Asio package, to right hit debug, and hit install Asio with vcpg. This will allow CROW to run smoothly on port 8008. Once all these steps are completed, Pathify is ready to go 🚀.
- Our API information and ports are already connected, so altering said ports in the backend or front-end file will mean it will need updates everywhere.
- Every User will have there own CMAKE file upon running the server. If you want to update this file, do not commit your changes to the debug folder to the repository.
- We use the url of our server for our request paramters, so changes to that url when fetching from the front-end will change the ouput of the server.
