You need a config.py
file containing API keys or other sensitive information.
- Install python3.8+ and pip on your machine.
$ cd build/devops_api
$ pip install -r requirements.txt
$ mv _environments.json environments.json
# Or just place downloadedenvironments.json
from somewhere else here$ mv _k8s_config into $HOME/.kube/config
# Put kubernetes config file into $HOME/.kube/config$ python apis/api.py
# Replacepython
command with your python3 executable on your platform
- API/migrate?to=orm
- Update database with
alembic upgrade head
- API/migrate?to=0.9.2
Mirror harbor image to docker hub
Mirror local Image To Docker Hub iiorg/devops-api:develop