COMP 3940 Project
-
Clone the repository.
-
Add
uploads/folder to root directory. -
Open
server.jsand change thepythonExecutablePathto your python path.- Windows example:
C:\\Users\\<username>\\AppData\\Local\\Programs\\Python\\Python39\\python.exe.- You can find this by running
where pythonin your Windows Command Prompt.
- You can find this by running
- MacOS example:
/usr/bin/python3.- You can find this by running
which python3in your MacOS terminal.
- You can find this by running
- Windows example:
-
Also in
server.js, change thepythonProcesspath to theinference.py's path in your machine.- Windows example:
C:/Users/bardi/<where you cloned the repo>/Nebula/backend/inference.py.- You can find this by right-clicking the file in your IDE and selecting "Copy Path".
- MacOS example:
/Users/ean/<where you cloned the repo>/Nebula/backend/inference.py.- You can find this by right-clicking the file in your IDE and selecting "Copy Path".
- Windows example:
-
Start the program with
npm start. -
Open
localhost:3000in your browser.