- Clone project
git clone [email protected]:neva-dev/javarel-framework.git
- Enter cloned directory
cd javarel-framework
- Install it locally
gradle clean publishToMavenLocal
(until it being released)
- Clone project
git clone [email protected]:neva-dev/javarel-quickstart.git
- Enter cloned directory
cd javarel-quickstart
- Build application using command
gradle createOsgiContainer --no-daemon
. - Run script run.sh from directory build/osgiContainer.
- Web application is available at address http://localhost:6661 and can be debugged using port 16661.
- Create new run configuration named 'Create container' of type 'Gradle'.
- Select root project
- Tasks:
clean createOsgiContainer
- Script parameters:
--no-daemon
- Install Bash plugin.
- Create run configuration named 'Run container' of type 'Bash'.
- Select working directory to build/osgiContainer
- Fill script with 'run.sh'.
- As before action add 'Run other run configuration', select 'Create container'
- Select 'Run container' in top right corner of IDE and run it for each code change :)
- Install Twig plugin.
- Open settings tab _File Types". Associate '*.peb' files with 'Twig'.