mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
22 lines
673 B
Text
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
|
|
}
|
|
]
|