Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdelapenya/wedeploy-sample-portlet
https://github.com/mdelapenya/wedeploy-sample-portlet
liferay portlet sample wedeploy
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mdelapenya/wedeploy-sample-portlet
- Owner: mdelapenya
- Created: 2017-06-21T16:13:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-22T09:28:41.000Z (over 7 years ago)
- Last Synced: 2024-10-03T12:28:23.026Z (about 2 months ago)
- Topics: liferay, portlet, sample, wedeploy
- Language: Java
- Size: 124 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WeDeploy sample Portlet
This a WeDeploy sample Portlet, created to demonstrate how to deploy Liferay applications to the Liferay service on WeDeploy.
## Configuring for WeDeploy
To generate the WeDeploy configuration files please execute:
```shell
# Generates the configuration files (container.json)
./gradlew clean configureWedeploy
```It will create the `container.json` file with the following entries:
- id: The public identificator of the service. Default value is `liferay`.
- type: The image type that will generate the Liferay service. Default value is `wedeploy/liferay:bet`
- hooks: The build hook is added to perform a build inside
- storage: The volume that will be persisted between redeployments of the same service. Default value is LIFERAY_HOME directory, `/usr/local/liferay-ce-portal-7.0-ga4`.## Deploying to Liferay
After generating the configuration files, commit them into your git repository, and execute the WeDeploy CLI:
```
# Creates the services on WeDeploy
we deploy
```The project will be created in WeDeploy, with the application running there for you!
![Sample WeDeploy Portlet](screenshot.png)