Skip to content
Snippets Groups Projects
Commit 34c9ebb5 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

initialize influxdb automatically

parent ed7c1f2a
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ Cleanup() {
influx -execute "drop database ${database_name}"
}
influx -execute "create database ${database_name}"
# create db before worker starts reading it. todo: git rid of it
echo "db.${beamtime_id}_detector.insert({dummy:1})" | mongo ${beamtime_id}_detector
......
......@@ -116,7 +116,6 @@ scp ../../../cmake-build-release/asapo_tools/asapo ${worker_node}:${worker_dir}
scp ../../../tests/automatic/settings/auth_secret.key ${worker_node}:${worker_dir}/auth_secret.key
#monitoring_start
ssh ${monitor_node} influx -execute \"create database db_test\"
#ssh ${monitor_node} docker run -d -p 8086 -p 8086 --name influxdb influxdb
#mongo_start
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment