mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-01 22:26:24 -07:00
Add configuration documentation, finish cfg refactoring
This commit is contained in:
parent
fd880d411d
commit
9c75b85eb3
9 changed files with 65 additions and 24 deletions
|
@ -20,11 +20,7 @@ Demo installation: https://gochan.org
|
|||
5. Go to http://[gochan url]/manage?action=staff, log in (default username/password is admin/password), and create a new admin user (and any other staff users as necessary). Then delete the admin user for security.
|
||||
|
||||
## Configuration
|
||||
1. Make sure to set `DBtype`, `DBhost`, `DBname`, `DBusername`, and `DBpassword`, since these are required to connect to your SQL database. Valid `DBtype` values are "mysql" and "postgres" (sqlite3 is no longer supported for stability reasons).
|
||||
1. To connect to a MySQL database, set `DBhost` to "ip:3306" or a different port, if necessary.
|
||||
2. To connect to a PostgreSQL database, set `DBhost` to the IP address or hostname. Using a UNIX socket may work as well, but it is currently untested.
|
||||
2. Set `DomainRegex`,`SiteDomain`, since these are necessary in order to post and log in as a staff member.
|
||||
3. If you want to see debugging info/noncritical warnings, set verbosity to 1.
|
||||
See [config.md](config.md)
|
||||
|
||||
## Installation using Docker
|
||||
See [`docker/README.md`](docker/README.md)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue