forked from kbaseattic/kb_seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
31 lines (23 loc) · 852 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
To rebuild the ERDB scripts from an updated CDMI spec file:
dbd=/home/parrello/CdmiData/Published/KSaplingDBD.xml
compile_dbd_to_typespec CDMI_API CDMI_EntityAPI $dbd CDMI-EntityAPI.spec \
Bio/KBase/CDMI/CDMI_EntityAPIImpl.pm er_scripts
compile_typespec \
-impl Bio::KBase::CDMI::%sImpl \
-service Bio::KBase::CDMI::Service \
-psgi CDMI.psgi \
-client Bio::KBase::CDMI::Client \
-js CDMI \
-py CDMI \
CDMI-API.spec CDMI-EntityAPI.spec .
This service uses the standard deploy.cfg configuration format:
Example:
[cdmi]
DBD = /home/ubuntu/KSaplingDBD.xml
dbName = experiment
userData = root/
dbhost = localhost
dbms = mysql
and invoke setting the KB_SERVICE_NAME variable to cdmi and the
KB_DEPLOYMENT_CONFIG variable to the config file above you can
override the various settings.