This commit is contained in:
2021-11-26 00:53:55 +00:00
parent 532d3738f5
commit a729e859fb

View File

@@ -173,7 +173,36 @@ Coded by importance
╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝
## WINDOWS
- launcher to make sure it starts with Windows
- launcher to make sure it starts and works properly with Windows
Windows forms app??
minimize to tray so doesn't need to be a "service"
can start from windows startup program files system so doesn't need to be a service
writes or logs to screen any startup issues
plays the role of the batch file currently in use
Also can configure through the launcher, maybe it writes out a config file if the config code can also read that
or command line (though it has to store it somewhere so one way or another maybe a new config.txt file??)
Launcher should have sane defaults so user can just start it and start using it but configure as they please later
Launcher responsibilities
Works with standalone as a quick way to start AyaNova for single user but also..
Works with shared network install
May even need to do NGINX stuff??
or maybe generated a config for nginx?
Fuck, it would be nice if ayanova could directly service and work with letsencrypt etc to avoid nginx entirely
configuration page with defaults for *all* config settings
help with settings where necessary
confirms ports availability
confirm sql
start sql if standalone
launch server
start browser window once server confirmed to start
START / STOP server
With launcher, inno only needs to drop files and put desktop icon
- configure command line options (in installer)
- re-configure / view command line options after install
- check for postgres server / select exsting postgres server
@@ -181,11 +210,21 @@ Coded by importance
SINGLE USER STANDALONE (beta testers version)
Contains everything needed to run, launches with a desktop icon that starts sql then ayanova, then launches a browser to connect
Can modify the settings or leave as default
requires launcher program
LAN INTERNAL OFFICE
Contains only AyaNova server itself, requires separate install of postgres
prompts for postgres server location if it doesn't find it then won't install (or at least says crucial error)
EXTERNALLY ACCESSIBLE
Not directly accessible, needs nginx
maybe it's a pre-requisite or maybe the lan install is the same one as this one but user needs nginx to connect remotely
## LINUX