Documentation
¶
Overview ¶
Package datadir says where goblog keeps the files it writes: .env, a SQLite database, uploads, and installed plugins and themes.
By default those live in the working directory, next to the templates and static files goblog ships with, which is how every install before this package existed is laid out. Setting GOBLOG_DATA_DIR moves all of them under one directory, so a container needs a single volume to keep its site (#653).
Index ¶
Constants ¶
View Source
const EnvVar = "GOBLOG_DATA_DIR"
EnvVar names the environment variable that sets the data directory.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.