Frontend Development Workflow

Persistent Development State

When starting Ocelot-Cloud in TEST mode, you can use the -k flag which preserves database is preserved across restarts and preserves Login state, so you do not need to log in again after each backend code change and restart.

Ocelot-Cloud uses SSR with Go HTML templates.

When running in TEST mode:

  • Backend code changes still require a container restart
  • Frontend resource changes do not require a restart

Instead, the GUI provides a Reload Frontend button:

  1. Modify HTML, CSS, or JavaScript files on the host
  2. Click Reload Frontend in the GUI
  3. Reload the page in the browser

This workflow allows fast frontend iteration without rebuilding or restarting containers.