This server has API endpoints supporting the application. Here's how you run this component individually.
-
cd to server and follow the below steps based on your OS:
The first time you want to run this code, you will need to:
- Create a virtual environment:
python3 -m venv venv
- Activate virtual environment:
- On Mac or Linux:
source venv/bin/activate
- On Mac or Linux:
- Install dependencies into the virtual environment:
pip3 install -r requirements.txt
On all subsequent runs, you will need to:
- Activate virtual environment:
- On Mac or Linux:
source venv/bin/activate
- On Mac or Linux:
- Run the development server:
- On Mac or Linux:
bash run_dev_server.sh
- On Mac or Linux:
The first time you want to run this code, you will need to: 3. Install Git Bash (if not already installed) and in VS code open the terminal of type Git Bash 4. Create a virtual environment:
py -m venv venv
5. Activate virtual environment:- On Windows:
source venv/Scripts/activate
- Install dependencies into the virtual environment:
pip install -r requirements.txt
On all subsequent runs, you will need to: 7. Activate virtual environment:
- On Windows:
source venv/Scripts/activate
- Run the development server:
- On Windows:
bash run_dev_server.sh
- On Windows:
- Create a virtual environment: