-
Notifications
You must be signed in to change notification settings - Fork 1
Prod Build
yavuzgok edited this page Nov 21, 2018
·
2 revisions
- Create runnable jar
mvn clean install
- Install mysql and create a database named
leadlet_api
- Create a user for this database and set username and password to environment
export MYSQL_USERNAME=myusername
export MYSQL_PASSWORD=mypassword
- Update datasource url for mysql in this line
- Install Elasticsearch
- Put Elasticsearch username and password to environment
export ES_USERNAME=esuser
export ES_PASSWORD=espassword
- Update host for Elasticsearch in this file
- Run app
java -jar target/leadlet.xyx.jar