- Click on the “<> Code” button and copy the URL corresponding to your preferred method of cloning the repository
- In a terminal, navigate to the location where you want the cloned directory and type “git clone [copied URL]” and press enter
- The program is made to work with MongoDB. To use this database, you can download the community edition (what we used) free here: https://mongodb.com/try/download/community. This download includes the program MongoDB Compass, which is a great tool to view changes to the entries of the database in real time. If MongoDB Compass is not included during the download, it can be downloaded here: https://www.mongodb.com/try/download/compass. To connect your own database to the server instead, the only file that needs to be changed is server.js, assuming the database is similar to MongoDB and is noSQL. Otherwise, we cannot guarantee that other files such as User.js and Search.js will not need changing as well
- Download Node.js, which includes Node Package Manager: https://nodejs.org/en/download/
- On the server machine, open a terminal, navigate to the root of the cloned directory (Comp-523-PRP), and run the command “npm install” to download the required node modules.
- Run the same command from the Client directory.
- Navigate to the root directory and run the command “npm start” to start the server.
- After you are done with that open another terminal window and navigate to the client directory of the project and run the command “npm start”.
- Now you should be all set!