Skip to content
/ sealable Public
forked from hkauso/sealable

Super basic markdown pastebin example

License

Notifications You must be signed in to change notification settings

ewof/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.

About

Super basic markdown pastebin example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 39.5%
  • HTML 30.5%
  • Rust 18.7%
  • CSS 11.0%
  • Just 0.3%