Add simplified local setup
[aai/test-config.git] / local-setup / README.md
diff --git a/local-setup/README.md b/local-setup/README.md
new file mode 100644 (file)
index 0000000..e8cab90
--- /dev/null
@@ -0,0 +1,34 @@
+# Local setup for AAI
+
+### Usage
+
+Build dev images:
+
+```
+mvn clean package
+```
+
+Run integration tests:
+
+```
+mvn clean verify -P integration-test
+```
+
+### Start local AAI
+
+1. Janus setup
+
+Modify both `janus-cached.properties` and `janus-realtime.properties` to the following (for all micro-services that will connect to the local Cassandra backend)
+
+```
+storage.backend=cassandra
+storage.hostname=localhost
+storage.cassandra.keyspace=onap # or different keyspace name of your choosing
+```
+
+2. Start compose
+
+```
+cd src/main/docker
+docker-compose up --force-recreate
+```
\ No newline at end of file