Skip to content
/ oss Public

 Liferay scripts that build up oss.deltares.nl

License

Notifications You must be signed in to change notification settings

Deltares/oss

Repository files navigation

Deltares OSS

Liferay workspace that builds up oss.deltares.nl

Requirements

  • OpenJDK8
  • Gradle 4.10.2

Setup

After forking and checking out, make a copy of gradle.properties and name it gradle-local.properties, use this new file for any custom properties you need, so as to avoid committing sensitive information.

The current gradle.properties file is pointing to the latest (at the point of this writing) CE bundle. It also has a commented DXP bundle above it, in case getting a development license is possible.

When developing for Liferay DXP, the following properties need to be filled with your Liferay.com login credentials:

liferay.workspace.bundle.token.email.address=
liferay.workspace.bundle.token.password=

The liferay.workspace.bundle.token.download property should then be set to true.

Once all the necessary properties have been filled out, run the following command to download the bundle:

./gradlew initBundle

Once downloaded, the following command will start the portal, you are expected to have Liferay blade installed:

blade server start

If you do not wish to use Blade, you can also start the server with tomcat's startup.sh or startup.bat script within the bundles/tomcat-x/bin/ folder.

Misc.

An extra gradle task was created to download the GeoIp2 Lite city database. Run the following command so that it can be placed in the right location in the bundles folder:

./gradlew geoipDownload

Useful links