Setup
๐ ๏ธ Installationโ
Install Dependenciesโ
Run the following command to install all dependencies:
npm install
Install Hosanna Tools Globallyโ
npm install -g @tantawowa/hosanna-tools
Install Hosanna Compiler (HSC)โ
If you are compiling for Roku, Apple TV, Android TV, Samsung TV, iOS, Android, or Web release targets, ensure you have the Hosanna Compiler installed globally. Tantawowa Ltd will provide installation instructions upon registration.
๐ฅ๏ธ Development Workflowโ
Editing Codeโ
- Open Visual Studio Code.
- Install the Hosanna UI and BrightScript extensions.
- Open the
hosanna-ui.code-workspacefile.
Developer Processโ
Before committing changes, follow these steps:
-
Run the linter:
npm run lint -
Run tests:
npm test -
Commit changes: Use meaningful commit messages.
๐ Web Developmentโ
Simulatorโ
Use the web simulator for faster debugging across shared UI, focus, input, AppConfig, and fragment behavior:
- Launch the
[WEB]task. This runs Vite and Hosanna Tools in watch mode to generate structs and other files.
Platform Targetsโ
Use the platform-specific launch target or native project when validating a release:
- Roku: VS Code
[ROKU]launch target and device sideloading. - Apple TV and iOS: Apple native project and simulator/device runs.
- Android TV and Android: Android Studio, emulator, and device runs.
- Samsung TV: Samsung TV package built from the web target.
- Web: Vite dev server and production web build.
๐ Documentationโ
Explore the docs folder for detailed information:
- Platforms: release-target setup and validation notes.
- UI and Interaction: views, focus, input, styles, fragments, and controls.
- Tools: Hosanna Tools, compiler, DevTools, MCP debugger, and diagnostics.
- Deployment: packaging, versioning, and CI.