COMP 3940 Project
-
Clone the repository.
-
Add
uploads/
folder to root directory. -
Open
server.js
and change thepythonExecutablePath
to your python path.- Windows example:
C:\\Users\\<username>\\AppData\\Local\\Programs\\Python\\Python39\\python.exe
.- You can find this by running
where python
in your Windows Command Prompt.
- You can find this by running
- MacOS example:
/usr/bin/python3
.- You can find this by running
which python3
in your MacOS terminal.
- You can find this by running
- Windows example:
-
Also in
server.js
, change thepythonProcess
path 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:3000
in your browser.