Liferay 7.3 practice (gradebook exercise)
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
Linux
sudo apt install openjdk-11-jdk
Windows
https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
Windows
- Windows
- Linux
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
Clone the repository
git clone git@github.com:dcfrancisco/liferay-training.git
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
cd themes/livingstone-fjord-theme
blade gw build