apt update ; apt install
-y gunicorn mongodb-server virtualenv python3 python3-dev git htop mosh openssl libssl-dev
git clone [email protected]:PBSA/bos-dataproxy-legacy.git
config-example.yaml
can be copied to config-dataproxy.yam
run_dev_server.sh
. This calls setup.s
h internally to assemble everything.cd
bos-dataproxy-legacy; source
run_dev_server.sh
source
provider_service.sh
config-dataproxy.yaml
is in the working directory and run the following command. The above script is a wrapper. Example configuration file is provided.python provider_service.py scorespro run_here
(env) [email protected]:~/work/code/BOS/l/bos-dataproxy-legacy# python provider_service.py scorespro run_hereSetting up logger handling for dataproxy...... done2019-08-07 16:51:50,560 INFO dataproxy: Custom config has been loaded from working directory: config-dataproxy.yaml2019-08-07 16:51:50,708 INFO bos_incidents: Custom config has been loaded ;config-defaults.yaml;incident_storage_config.yamlSetting up logger handling for dataproxy...... done2019-08-07 16:52:03,106 INFO dataproxy.provider.scorespro.pap_task: Sport SOC found and added to history watch
screen
command to start the above commands in daemon mode.