Deployment

Compilation and Server Configuration

  • Compile Tailwind CSS via npm run build in bweb_dependencies/
  • The output.css file is generated in BWEB/assets/css/
  • In production, enable HTTPS with cert.pem in the database folder

Inter-database Synchronization

BWEB supports web content synchronization between databases (dev - staging - prod) via the BSPK_HISTORY system.

  • Each modification creates a BSPK_HISTORY record
  • Export generates a main.json file in BWEB/data/databaseDumps/web/
  • Import applies the modifications to the target database

Translations

Translation files are in Resources/lang/{lang}/BSPK.json. Use BSPK_Translate() for XLIFF keys.

Import/Export (.bspkExp)

Pages can be exported as .bspkExp files from the Dev Panel, then imported into another database. This format contains the complete block structure of a page.