- Create a maven profile in your settings.xml
<!-- AMEE --> <profile> <id>amee-local</id> <properties> <db.username>amee</db.username> <db.password>amee</db.password> <db.url>mysql://localhost:3306/amee?autoReconnect=true&autoReconnectForPools=true&useCompression=false</db.url> <rabbitmq.address>localhost</rabbitmq.address> <rabbitmq.port>5672</rabbitmq.port> <rabbitmq.vhost>/</rabbitmq.vhost> <rabbitmq.username>guest</rabbitmq.username> <rabbitmq.password>guest</rabbitmq.password> </properties> </profile>- Generate a secret key (amee.key) using
com.amee.base.crypto.BaseCrypto#mainand place it inamee-platform-core/src/main/config. - Create a salt file (amee.salt) with sixteeen characters in it, eg: "FOOBARBAZQUUX123" and place it in
amee-platform-core/src/main/config. - Add a user to the database. Use
com.amee.base.utils.PasswordEncoderto generate the password. - Start the platform:
mvn exec:java -P amee-localTODO
From the amee-platform-core directory:
mvn clean package -P tar