Skip to content

Latest commit

 

History

History
134 lines (104 loc) · 2.16 KB

README.md

File metadata and controls

134 lines (104 loc) · 2.16 KB

liferay-training

Liferay 7.3 practice (gradebook exercise)

Folder Structure

liferay-training
    ├── configs
    │   ├── common
    │   ├── dev
    │   ├── docker
    │   ├── local
    │   ├── prod
    │   └── uat
    ├── modules
    │   ├── angular-routing-demo-portlet
    │   ├── angular-weather-app
    │   ├── gradebook
    │   │   ├── Gradebook-api 
    │   │   └── Gradebook-service 
    │   └── gradebook-web
    └── themes
        └── livingstone-fjord-theme

Setup Environment

Install JDK 11

Linux

sudo apt install openjdk-11-jdk

Windows

https://www.oracle.com/java/technologies/javase-jdk11-downloads.html

Install Nvm

Windows

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
  • Mac
brew install nvm

Install node 16

nvm install 16  

Use node 16

nvm use 16

Check node and npm version

node -v

Check npm version

npm -v

Install blade

Build the project

Clone the repository

git clone git@github.com:dcfrancisco/liferay-training.git

Building the projects

Create bundle

cd configs/local
blade gw initBundle

or

./gradlew initBundle

Service Builder

cd modules/gradebook/gradebook-service
blade gw buildService
cd ..
blade gw build

Deploy gradebook-api and gradebook-service

cd modules/grabook
blade gw deploy

Build Gradebook-web

cd modules/gradebook-web
blade gw build

Deploy Gradebook-web

blade gw deploy

Build Themes

cd themes/livingstone-fjord-theme
blade gw build