Skip to content

eipm/stork-a

Repository files navigation

Stork-A

Actions Status Github EIPM Docker Hub GitHub Container Registry Python 2.7 Python 3.6 License: MIT

Set up local environment and install dependencies

Create a local environment python -m venv src/env

Activate the virtual environment (Required every time you want to access the virtual environment) source src/env/bin/activate

Install requirements from requirements.txt pip install -r requirements.txt

Execute a model as script

You can use the below to run a model. Feel free to edit this file, as this is used only for testing purposes. python src/run_as_script.py

For executing the API

Visual studio code is already set up to run using the debugger. This is using as default "USERS_DICT": "{'user1': 'stork'}".

To run individually, you can first set the USERS_DICT and just run python src/main.py