Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Module setup

...

Postgres and Jedis are activated by default and they will be active profiles when you run the following command

mvn clean package

But when you specify a property, the active ones are overriden. Couchdb will be the only active profile when you run the following command

...

mvn clean package -P couchdb,jedis

...

Deployment

Once tomcat is running, you can install the opensrp.war file from target folder into the webapps directory in order to run the application.

Code Block
languagebash
sudo cp target/opensrp.war /var/lib/tomcat7/webapps/