Quick Start!
🏁 Getting Started
Section titled “🏁 Getting Started”1. Prerequisites
Section titled “1. Prerequisites”Before you begin, ensure you have the following installed:
- Java JDK 21 or higher
- Liferay’s Blade CLI
2. Installation
Section titled “2. Installation”Install Liferay Studio from the VS Code Marketplace.
3. Initial Workspace Setup
Section titled “3. Initial Workspace Setup”After creating your first Liferay Workspace using the extension, you need to tell it where your Liferay server bundle is located.
- Open the
gradle.propertiesfile in the root of your new workspace. - Add the following line, pointing to your Liferay Portal home directory:
# This should point to the root of your Liferay bundle (e.g., /path/to/liferay-ce-portal-7.4.3.113-ga113)liferay.workspace.home.dir=/path/to/your/liferay/bundleStart/Stop liferay server
Section titled “Start/Stop liferay server”-
cmd/ctrl+shift+p: Liferay Studio: Start/Stop Liferay Server -
Alternatively you have a vscode bottom status bar item with an
antennaicon labeled asLRto toggle liferay server start/stop
Create new liferay module
Section titled “Create new liferay module”cmd/ctrl+shift+p: Liferay Studio: Create Liferay Module
Deploy all modules
Section titled “Deploy all modules”cmd/ctrl+shift+p: Liferay Studio: Deploy All Modules- This command will deploy all modules for once
Hot deploy all modules
Section titled “Hot deploy all modules”cmd/ctrl+shift+p: Liferay Studio: Hot Deploy All Modules- This command will deploy all modules and keep watching for the changes to auto redeploy on change detection.
Features
Section titled “Features”- Create new Liferay workspace from within VSCode
- Start Liferay Server from within VSCode with just one click.
- Deploy all modules with single command, it will deploy once.
- Hot deploy all modules with single, it will watch for the changes and redeploy if changed.