From 6dd492915885fa4ea40ad76315229968b688a5af Mon Sep 17 00:00:00 2001 From: Ernst Widerberg Date: Fri, 22 Oct 2021 08:33:37 +0200 Subject: Add init script --- init.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 init.sh diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..01115e3 --- /dev/null +++ b/init.sh @@ -0,0 +1,18 @@ +export COUCHDB_USER=couchdb +export COUCHDB_PASSWORD=insecure +export COUCHDB_NAME=test +export COUCHDB_HOSTNAME=localhost +cd soc_collector/docker/ +docker compose up -d +read + +cd ../demo/ +python ../src/wsgi.py & +cd ../.. +go run jwt_mock.go & +read + +export PER_PAGE=2 +export COLLECTOR_URL=http://localhost:8000 +export JWT_URL=:http://localhost:8080 +npm run start -- cgit v1.1