Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.37 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.37 KB

oclapi2

The new and improved OCL terminology service v2

Dev Setup

  1. sysctl -w vm.max_map_count=262144 #required by Elasticsearch
  2. docker-compose up -d
  3. Go to http://localhost:8000/swagger/ to benefit.

Run Checks

  1. Pylint (pep8) --- docker exec -it oclapi2_api_1 pylint -j2 core
  2. Coverage -- docker exec -it oclapi2_api_1 bash coverage.sh
  3. Tests --- docker exec -it oclapi2_api_1 python manage.py test --keepdb -v3

Release

Every build is a candidate for release.

In order to release please trigger the release build step in our CI. Please note that the maintenance version will be automatically increased after a successful release. It is desired only, if you are releasing the latest build and should be turned off by setting the increaseMaintenanceRelease variable to false on the Run stage "Release" popup in other cases.

You also need to create a deployment release here. Please make sure the release version matches the version defined in core/init.py (except the extended GIT SHA in the release version).

Deployment

In order to deploy please trigger the deployment here. Please use an existing deployment release.