Web App Development Workflow
This page outlines the steps to develop web apps for webOS Open Source Edition (OSE).
Downloadable Web Apps
To develop a downloadable web app, the Command-Line Interface (CLI) tool is used.
In general, the steps described in CLI Workflow are applied.
For a step-by-step tutorial, see Developing Downloadable Web Apps.
Built-in Web Apps
Developing a built-in web app requires the following steps:
Implement
- Writing the web app code in HTML (including
index.html
), CSS, and JavaScript - Preparing
README.md
that describes the project
- Writing the web app code in HTML (including
Configure
- Configuring the app metadata file (
appinfo.json
) - Configuring the CMake build script (
CMakeLists.txt
)
- Configuring the app metadata file (
Build
- Writing a recipe to build the app on the Yocto build environment
- Configuring the local source directory
- Building the app
Run and verify
- Installing and running the app on the target
- Verifying the app functionality
Deploy
- Adding the app to the webOS OSE build recipe
- Building the webOS OSE image
- Flashing the image to the target
For a step-by-step tutorial with detailed instructions, see Developing Built-in Web Apps.