- Make sure that you have Python 3.9 or above by running the following in the command line:
python --version - Clone/download the repository to your local machine
- Using the command line, go to the main directory:
cd YOURPATH\Training-Codelab\backend - Create a python virual environment:
python -m venv venv - Activate the virtual environment:
./venv\Scripts\activate - Install the required depedencies:
pip install -r requirements.txt
Note: these instructions are on windows 10 machines. It should be similar on other systems as well.
- Using the command line, go to the main directory:
cd YOURPATH\Training-Codelab\backend - Activate the virtual environment:
./venv\Scripts\activate - To run the microservice:
python server.py - Similarly, to run other individual python files:
python FILENAME.py
- Install & run the Backend first
- Clone/download the directory to your local machine
- Using the command line, go to the backend directory:
cd YOURPATH\Training-Codelab\frontend - Install the required dependencies by typing the following in the command line:
npm install - Start the program by typing the following in the command line:
npm start
- Using the command line, go to the backend directory:
cd YOURPATH\Training-Codelab\frontend - Start the program by typing the following in the command line:
npm start