summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnst Widerberg <ernstwi@kth.se>2021-10-22 08:33:37 +0200
committerErnst Widerberg <ernstwi@kth.se>2021-10-22 08:33:37 +0200
commit6dd492915885fa4ea40ad76315229968b688a5af (patch)
tree4468de063e8a847ec9248e08eed527459d5291f4
parentaa5fd309549e84fde4eca7ad120dbc3b59d33673 (diff)
Add init script
-rw-r--r--init.sh18
1 files changed, 18 insertions, 0 deletions
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