This is a planning module for Liferay. It is based on https://github.com/inofix/note-it-js and can be used to lay out basic ideas which can later be exportet to e.g. WebContent.
- Install blade:
curl https://raw.githubusercontent.com/liferay/liferay-blade-cli/master/installers/local | sh
- Create a liferay workspace:
WORKSPACE=my-workspace; MODULENAME=ch-inofix-sketch-board; blade init $WORKSPACE
- Checkout timetracker sources to the workspace's module directory:
cd $WORKSPACE/modules; git clone https://github.com/inofix/$MODULENAME.git
- Change working directory:
cd $WORKSPACE/modules/$MODULENAME
- 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-sketch-board 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 sketch-board-web project aren't validated properly,
- select the sketch-board-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 sketch-board-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.
Note for CLI developpers
There is absolutely no need for an IDE other than your favorite distro.. Just start liferay inside the workspace the following way:
blade server start
Inside the project module folder, just execute this to build and deploy the module into your liferay installation:
blade deploy
TODO