Skip to content

CeleritasML/sommelier-app

Repository files navigation

Sommerlier Web App

Env Setup

# Install Rust (if you're using M1 chip)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
# Install cmake and protobuf (if you're using M1 chip)
brew install cmake protobuf

# Install Python Dependencies
poetry install

# Setup git pre-commit
brew install pre-commit
pre-commit install

Activate Virtual Env

poetry shell

Train Model

# run this command in poetry env
python train.py

Run Server

# run this command in poetry env
python app.py

Start Node Server

# in another terminal (process)
cd frontend
npm start