Ingest, manage and store data from web-enabled sensors.
ch-inofix-data-manager development targets Liferay CE 7.0.4-ga5.
Make sure your liferay workspace environment is configured accordingly:
In $LIFERAY_WORKSPACE/gradle.properties set:
liferay.workspace.bundle.url=https://cdn.lfrs.sl/releases.liferay.com/portal/7.0.4-ga5/liferay-ce-portal-tomcat-7.0-ga5-20171018150113838.zip
In $LIFERAY_WORKSPACE/settings.gradle set:
classpath group: "com.liferay", name: "com.liferay.gradle.plugins.workspace", version: "1.8.0"
(see the discussion at liferay/liferay-js-toolkit#56)
- Install blade:
curl https://raw.githubusercontent.com/liferay/liferay-blade-cli/master/installers/local | sh
- Create a liferay workspace:
WORKSPACE=my-workspace; blade init $WORKSPACE
- Checkout data-manager sources to the workspace's module directory:
cd $WORKSPACE/modules; git clone https://github.com/inofix/ch-inofix-data-manager.git
- Run ServiceBuilder:
gradle buildService
- Build:
gradle jar
- Fork this repository to your individual github account.
- Clone your personal fork to your local machine.
- Use feature branches to work on new features or known issues.
- Merge finished features into your individual master branch and
- create pull-requests, to contribute your solutions to the inofix master branch.
Stay up-to-date
- Change the current working directory to your local project.
- Configure https://github.com/inofix/ch-inofix-data-manager as additional upstream remote (see: https://help.github.com/articles/configuring-a-remote-for-a-fork/)
- Sync inofix-master with your individual fork (see: https://help.github.com/articles/syncing-a-fork/):
- Fetch upstream/master to your local copy:
git fetch upstream
- Check out your fork's local 'master' branch:
git checkout master
- Merge the changes from 'upstream/master' into your local master branch. This brings your fork's master branch into sync with the upstream repository, without losing your local changes:
git merge upstream/master
- Push merged master to your individual github account and
- create a pull-request, to contribute your solution to the inofix master branch.
Note for Eclipse / Liferay-IDE developers
If the JSPs of the data-manager-web project aren't validated properly,
- select the data-manager-web in the Project-Explorer view
- open the context menu with the right mouse key
- select "Configure" and
- choose "Add JSP Validation Support"
- select the data-manager-web in the Project-Explorer view
- press CTRL + F5 to refresh your project
You may have to restart Eclipse, too in order to have your JSPs validated.
TODO