chrberndt / liferay-todo-list

A ToDo list application meant to explore, test and demonstrate the development of Liferay custom modules.
GNU General Public License v3.0
1 stars 4 forks source link

Configure Travis CI #2

Closed chrberndt closed 3 years ago

chrberndt commented 3 years ago
  1. Install BLADE
    1. Get jpm: wget https://raw.githubusercontent.com/jpm4j/jpm4j.installers/master/dist/biz.aQute.jpm.run.jar
    2. Install jpm in the current user's home directory: java -jar biz.aQute.jpm.run.jar --home ~ init
    3. Add user's bin directory to PATH: export PATH="$HOME/bin:$PATH"
    4. Install blade: jpm install -f https://releases.liferay.com/tools/blade-cli/latest/blade.jar
    5. Update blade to the latest release: blade update
  2. Create an empty Liferay workspace: blade init -v portal-7.3-ga7 liferay-workspace
  3. Change working directory to liferay-workspace: cd liferay-workspace
  4. Clone the liferay-todo-list repo into the modules directory: git clone git@github.com:chrberndt/liferay-todo-list.git modules/liferay-todo-list
  5. Init Liferay bundle: ./gradlew initBundle
  6. Generate autogenerated Service Builder classes: ./gradlew buildService
  7. Run integration tests: ./gradlew :modules:liferay-todo-list:liferay-todo-list-test:testIntegration
chrberndt commented 3 years ago

Done.