Files
materialious/docs/BUILDING.md
T
2024-10-30 00:29:54 +13:00

2.3 KiB

Work in Progress

This documentation is currently under development and subject to updates.

Building

Web Deployment (via Docker)

Materialious supports web deployment through Docker.

Desktop Release (via GitHub Releases)

Materialious desktop builds are handled through GitHub using prod-desktop.yml.

  • First, the typical build steps are run: npm install and npm run build.
  • We utilize Capacitor with @capacitor-community/electron to integrate Electron into the project. The command npx cap sync @capacitor-community/electron is used to synchronize the latest build.
  • The patch_capacitor_plugin.py script removes the Capacitor-NodeJS plugin from the desktop build, as it's not required and currently has no better alternative.
  • From here, the process follows standard electron-builder steps to complete the build.

Desktop Release (via Flatpak)

TODO

Android Release

Android builds are handled using the workflow prod-android.yml.