- 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\Results-Caching-System\code
- 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
- Create a copy of
.env.example
and rename it to.env
. Then, update the credentials.
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\Results-Caching-System\code
- Activate the virtual environment:
./venv\Scripts\activate
- To run the microservice:
python microservice.py
- Similarly, to run other individual python files:
python FILENAME.py