summaryrefslogtreecommitdiffstats
path: root/local-setup/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'local-setup/README.md')
-rw-r--r--local-setup/README.md34
1 files changed, 34 insertions, 0 deletions
diff --git a/local-setup/README.md b/local-setup/README.md
new file mode 100644
index 0000000..e8cab90
--- /dev/null
+++ b/local-setup/README.md
@@ -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