summaryrefslogtreecommitdiff
path: root/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init.sh')
-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