mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 20:59:03 +00:00
Update Set up development environment in README.md. (#995)
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
# Copy this file to .env
|
||||
|
||||
PHOTOVIEW_DATABASE_DRIVER=mysql
|
||||
PHOTOVIEW_MYSQL_URL=user:password@tcp(localhost)/dbname
|
||||
PHOTOVIEW_DATABASE_DRIVER=sqlite
|
||||
|
||||
# Specifies the filepath for the sqlite database, if PHOTOVIEW_DATABASE_DRIVER is set to 'sqlite'
|
||||
PHOTOVIEW_SQLITE_PATH=photoview.db
|
||||
|
||||
# Specifies the connection string for the mysql database, if PHOTOVIEW_DATABASE_DRIVER is set to 'mysql'
|
||||
# PHOTOVIEW_MYSQL_URL=user:password@tcp(localhost)/dbname
|
||||
|
||||
# Specifies the connection string for the postgres database, if PHOTOVIEW_DATABASE_DRIVER is set to 'postgres'
|
||||
# See https://www.postgresql.org/docs/current/libpq-ssl.html for possible ssl modes
|
||||
# PHOTOVIEW_POSTGRES_URL=postgres://user:password@host:port/dbname?sslmode=(disable|allow|...)
|
||||
|
||||
# Specifies the filepath for the sqlite database, if PHOTOVIEW_DATABASE_DRIVER is set to 'sqlite'
|
||||
# PHOTOVIEW_SQLITE_PATH=photoview.db
|
||||
|
||||
PHOTOVIEW_LISTEN_IP=localhost
|
||||
PHOTOVIEW_LISTEN_PORT=4001
|
||||
|
||||
|
||||
Reference in New Issue
Block a user