Add simplified local setup
[aai/test-config.git] / local-setup / README.md
1 # Local setup for AAI
2
3 ### Usage
4
5 Build dev images:
6
7 ```
8 mvn clean package
9 ```
10
11 Run integration tests:
12
13 ```
14 mvn clean verify -P integration-test
15 ```
16
17 ### Start local AAI
18
19 1. Janus setup
20
21 Modify both `janus-cached.properties` and `janus-realtime.properties` to the following (for all micro-services that will connect to the local Cassandra backend)
22
23 ```
24 storage.backend=cassandra
25 storage.hostname=localhost
26 storage.cassandra.keyspace=onap # or different keyspace name of your choosing
27 ```
28
29 2. Start compose
30
31 ```
32 cd src/main/docker
33 docker-compose up --force-recreate
34 ```