- Developing locally
To run this code in your computer execute the following commands into project root directory
cd <directory to store your Python environment>
python -m venv <your-venv-name>
source <your-venv-name>/bin/activate
$ pip install --no-cache-dir -r requirements.txt
$ python main.py
If you need to change to a different environment, you can deactivate your current environment using the command below:
deactivate
To run this code using Docker container execute the following commands into project root directory
$ docker build -t sample-model-container .
$ docker run -p 3000:3000 -d sample-model-container