Skip to content

QCDIS/KMS-generic_K8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

326 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and push container

envri-kbs

python3 -m spacy download en_core_web_md
manage.py migrate
manage.py  makemigrations
manage.py  runserver 0.0.0.0:8000

Environment variables

Testing

Test elasticsearch server

docker run --rm \
  -e "discovery.type=single-node" \
  -e "ELASTIC_PASSWORD=changeme" \
  -e "xpack.security.http.ssl.enabled=false" \
  --name es01 \
  -p 9200:9200 \
  docker.elastic.co/elasticsearch/elasticsearch:8.8.1

Load test data:

python fixtures/load_fixtures.py

UI

Frontend tests are run with Cypress. To get started:

npm install cypress --save-dev
npx cypress open

With Pycharm, tests can be run with the plugin Cypress Support.

API

API tests are generated and run with Portman. To get started:

npm install --save-dev @apideck/portman
npx portman --cliOptionsFile portman/portman-cli.yaml

License

Copyright 2023 University of Amsterdam / LifeWatch ERIC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors