Skip to content

AveryVeilfaire/livesync-subscribe-publish-kit

 
 

Repository files navigation

LiveSync Subscribe Publish kit

The Dockerfile and assets for Trying LiveSync Subscribe Publish (req: buildx - apt install docker-buildx-plugin)

How to try

$ git clone https://github.com/AveryVeilfaire/livesync-subscribe-publish-kit/
$ cd livesync-subscribe-publish-kit
$ cp sample.env .env
$ vi .env
$ ./test.sh

Then, your site would be hosted at localhost:8080

Environment variables

# Must be changed as your environment.
LSSP_DATABASE=test
LSSP_PASSPHRASE=passphrase
LSSP_PASSWORD=password
LSSP_URL=http://localhost:5984
LSSP_USERNAME=admin
LSSP_OBFUSCATEPASSPHRASE=passphrase

LSSP_HUGO_BASEURL=https://livesync-subscribe-publish.example.net/
LSSP_HUGO_LANGUAGE=en-GB
LSSP_HUGO_TITLE=LiveSync Subscribe Pubslish Test

# You can leave them as default.
LSSP_SUBSCRIBEDIR=blogdir/
LSSP_PUBLISH_PORT=8080  #// HARDCODED?!
LSSP_LOCALDIR=/app/content/sitesrc/
LSSP_SCRIPT_CMD=/app/build.sh
LSSP_SCRIPT_ARGS=""
LSSP_STATDIR=/app/content/sitesrc/
LSSP_CONFIG_PATH=/app/subscriber/config.jsonc
LSSP_KEYFILE=flush.md
LSSP_APIPATH=

Note: If you want to use API update mode, you have to set empty to LSSP_KEYFILE and any of your favourite paths to LSSP_APIPATH.


Licensed as MIT.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 58.3%
  • Shell 41.7%