-
Notifications
You must be signed in to change notification settings - Fork 5
Get Started
Python 3.7+ must be installed.
It is recommended to setup a virtual environment. With conda:
conda create --name ch python=3.7
conda activate chInstall requirements:
pip install -r requirements.txtFor local development you need to run your own Kubernetes cluster, we recommend to use minikube and follow their Get Started guide.
Additionally, you need to install the CLI tool kubectl to interact with the cluster.
Further reading: Working with Minikube
To generate a deployment, run harness-deployment.
Further reading: Deployment
To create a new REST application, run harness-application from the root.
Further reading: Application Templates
To (re)generate the code for your applications, run harness-generate from the root.
The script will look for all openapi applications, and regenerate the Flask server code and documentation.
Note: the script will eventually override any manually modified file. To avoid that, define a .openapi-generator-ignore file.