Run GUI for development with own webserver

Started by Morta, August 04, 2023, 05:15:06 PM

Previous topic - Next topic

Hi
Is there a way to run the GUI only on a webserver?

I know the vagrant image for developing propse.

Thx 4 input
Modify message


Thx!

The server runs now under 192.168.1.100:8000 but I have the problem that System -> Backup doesn't display me is this not in the core?

My config looks like this

// copy this template to config.local.php and adjust settings
return new PhalconConfig(array(
    'application' => array(
            /* Usually keep defaults as is */
            'cacheDir'       => __DIR__ . '/../cache/',
            'baseUri'        => '/opnsense_gui/',
    ),
    'globals' => array(
        /* Usually keep defaults as is */
        'config_path'    => __DIR__ . '/../conf/',
        'temp_path'      => __DIR__ . '/../temp/',
        'debug'          => false,
        'simulate_mode'  => true
    ),
    'environment' => array(
        /* packages to include in setup */
'packages'      => array(
     '/usr/share/webapps/opnsense/www/plugins/sysutils/nextcloud-backup'
        ),
        /* location of OPNsense core package */
        'coreDir'        => '/usr/share/webapps/opnsense/www/core',
    )
));