Commit 945f027b authored by Pierre-Yves Gibello's avatar Pierre-Yves Gibello
Browse files

Document database credentials configuration

parent 492de309
Pipeline #21635 passed with stages
in 2 minutes and 44 seconds
......@@ -116,13 +116,28 @@ mysql -u username -p OW2_MRL -Bse "LOAD DATA LOCAL INFILE '/tmp/MRL/MRL_threshol
## Setup the webapp
- Update src/main/resources/ with MySQL credentials
- Build the webapp or copy in webapp WEB-INF/classes (then reload).
Webapp build and execution:
Build the webapp
$ mvn clean install
Default database user/password are "root"/"password". If you use something else (recommended!), you will have to create a properties file with the following content (adapt user/password values according to your setup):
Webapp execution:
$ mvn jetty:run -Dmrl.conf.file.path=PATH_TO_YOUR_MYSQL_PROPERTIES_FILE
Note that if you used the default database user/password settings ("root"/"password") for testing, you can simply launch:
$ mvn jetty:run
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment