pnpm install
cd Object_detection && pip install -r requirements.txt
cd ../recommendation_filter && pip install -r requirements.txt
In three terminals, run the following:
pnpm dev
cd ./Object_detection && py main.py
cd ./recommendation_filter && py filter.py
To build for production, run this command in the project root:
pnpm build
To start the API server, run this command:
pnpm start:server
To start the ML server, run the following:
cd ./Object_detection && py main.py
To start the recommendation server, run the following:
cd ./recommendation_filter && py filter.py
Production builds are served using NGINX. A sample configuration file can be found here.