Hello, webOS OSE!
Welcome to the webOS Open Source Edition (OSE)! This page will guide you through the process of setting up the environment and developing your first app.
Environment Setup
First, let’s set up your environment.
webOS OSE provides you with two options for the target environment.
Real device: For those of you who want to test on a real device, webOS OSE supports Raspberry Pi (RPi).
Version Support Device For webOS OSE 2.0.0 or Higher Raspberry Pi 4 Model B For webOS OSE 1.x Raspberry Pi 3 Model B Emulator: For developers who don’t have RPi on hand or prefer to work on a virtual environment, webOS OSE provides the emulator as a part of its SDK.
You need to create an image for the desired target and prepare the target environment.
Real Device
- Before you begin, check the system requirements.
- Build the source code to create an image for RPi. Ensure that you set up the build for RPi at the configuration step.
- Flash the built image to RPi.
- Set up networking between the host machine and RPi.
- If you use webOS OSE 2.0 or higher and RPi 4 for a target device, consider setting up dual displays.
Emulator
- Before you begin, check the system requirements for the build system, host machine, and the emulator host.
- Build the source code to create an image for the emulator. Make sure that you set up the build for the emulator at the configuration step.
- Set up the emulator by following the steps in emulator user guide.
Your First webOS OSE App
If you finished setting up the environment, it’s time to start developing your first app running on webOS OSE, which will be a downloadable web app.
Install CLI
To develop a downloadable web app, you will use Command-Line Interface (CLI), which is provided as a part of webOS OSE SDK. You can also use CLI to develop downloadable JavaScript (JS) services.
Proceed to install CLI for your operating system.
Develop the Downloadable Web App
Follow the steps described in the Developing Downloadable Web Apps tutorial.
What’s Next
- If you are interested in developing a downloadable JS service, which will be packaged along with the web app you’ve just created, check the Developing Downloadable JS Services tutorial.