To create a venv use:
cd smart-chef-api && python3 -m venv env
To activate a venv run the appropiate script
For Powershell:
./smart-chef-api/env/Scripts/Activate.ps1
For Linux:
source ./smart-chef-api/env/Scripts/activate
A requirements.txt is included with the project.
You can install the required packages using pip:
Its recommended to do this inside a venv
pip install -r smart-chef-api/requirements.txt
To start the API you can use this command:
python smart-chef-api/src/manage.py runserver
To install the dependencies use the following command
cd smart-chef-ui && yarn
To run the UI use the following command
cd smart-chef-ui && yarn start