- Make sure that Java1.7 and Maven should be installed on machine.
- Download source code from GitHUB<https://github.com/adswizz/cybage-persomap>
- Modify the environment specific parameters from 'src/main/resource/persomap-config.yml' like
a) For AWS configuration provide input to following properties
access_key_id : <<AWS_ACCESS_KEY_ID>>
secret_access_key : <<AWS_ACCESS_SECRET_KEY>>
b) For DynamoDB
dynamodb_table_name : <<DYNAMODB_TABLE_NAME>>
aws_endpoint_url : http://<>:<<8000>> e.g- aws_endpoint_url : http://localhost:8000
c) For Elastic Cache aws_cache_url : <>:<<11211>>
d) Server port configuration server: applicationConnectors: - type: http port: 80 adminConnectors: - type: http port: 8081
-
Goto Source folder and open command prompt
-
To build a new persomap jar, use the command 'mvn clean install'. New jar will be created under /target folder.
-
If you don't want to run the Test cases then skip the Test cases. use command as 'mvn clean install -Dmaven.test.skip=true'
-
Goto /target folder and open command prompt and run the application using command as 'java -jar <<Generated_JAR_NAME>> server persomap-config.yml' e.g - java -jar persomap.jar server persomap-config.yml
-
Check the application health on admin port using url as 'http://localhost:8081'
-
Check the Swagger API on application port using url as http://localhost:80/swagger