/control-panel

The Control Panel is intended as an alternative to the Windows Control Panel in certain situations.

Primary LanguageGoGNU Affero General Public License v3.0AGPL-3.0

control-panel

Development

Separate development

Simultaneous development

pnpm gen and others are the same as separate development.

Production

1. Generate static web and move it to backend static embed:

in /control-panel/web/

pnpm gen

2. Turning the server punch development mode into a production mode:

in /control-panel/server/main.go:18

//gin.SetMode(gin.ReleaseMode) => gin.SetMode(gin.ReleaseMode)

3. Build with a pre-prepared //go:generate:

in /control-panel/server/

go generate

The binary file will be generated by default as /control-panel/server/control.exe