Skip to content

hkauso/sealable

Repository files navigation

🦭 Sealable

Reference markdown pastebin using pastemd.

Configuration

Sealable supports the following configuration options through environment variables:

  • SITE_NAME - the name of the site
  • INFO_URL - the url (relative to root /) that will be served from the "what" link in the footer
    • Link is not shown in the footer if this variable is not set
  • USE_STARSTRAW - if starstraw authentication should be enabled

The following configuration options are required for all database types (besides sqlite):

  • DB_TYPE - the type of the database (mysql or postgres)
  • DB_HOST - the database host location (likely localhost)
  • DB_USER - database username
  • DB_PASS - database password
  • DB_NAME - database name

Pongo

It is recommended that you pull the Pongo source into a different directory, build the CSS, and then link it into static/pongo.

ln -s PATH_TO_PONGO/static static/pongo

Then you can set the PO_STATIC_DIR variable:

PO_STATIC_DIR="/static/pongo"

Pongo is needed for database management.