Skip to content

sjyoo/service_template

Repository files navigation

KBase Service Template

The KBase service template repo provides a new service code template using AWE, Shock, Workspace and your personal scripts.

How to set up

  1. cd ~; git clone https://github.com/sjyoo/service_template; cd service_template
  2. Set environment variables
  1. make
  • cd /kb/dev_container
  • make; make deploy
  • cd YOUR_SERVICE_TEMPLATE
  • make deploy_config
  1. start services
  • . /kb/deployment/user-env.sh; mkdir -p /mnt/mongo; mongod --dbpath=/mnt/mongo
  • /kb/deployment/services/shock_service/start_service
  • cat /kb/dev_container/modules/handle_service/hsi.sql | mysql
  • /kb/deployment/services/handle_service/start_service
  • /kb/deployment/services/handle_mngr/start_service
  • /kb/deployment/services/workspace/start_service (Requires /kb/dev_container/modules/workspace_deluxe/administration/initialize.py)
  • /kb/deployment/services/awe_service/start_service
  • /kb/deployment/services/awe_service/start_aweclient
  • /kb/deployment/services/userandjobstate/start_service
  1. Add your scripts in your /kb/dev_container/modules/$SERVICE_NAME/scripts and update your script configurations (refer Service Configuration)
  2. Add your code into repo

How to configure your scripts

Will add a google doc later

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published