ports/www/sqlpage/pkg-message
2024-04-22 11:58:15 +02:00

22 lines
673 B
Text

[
{
type: install
message: <<EOM
To get started, configure ${PREFIX}/etc/sqlpage/sqlpage.json and at least set
your database source and create a database. If using SQLite, set ownership
appropriately. SQLPage runs as user sqlpage per default. Once the datasource is
set, you can start the sqlpage using normal rc script:
sysrc sqlpage_enable=yes
service sqlpage start
This will start a web server on port 8080. See
https://github.com/lovasoa/SQLpage/blob/main/configuration.md for more
configuration details.
For more ambitous setups, set up a rev proxy using your favourite web server,
e.g. nginx or apache, and use PostgreSQL as the backend database.
EOM
}
]