Sign inSign up

loggerhead/myblog

By loggerhead

•Updated about 9 years ago

Oh, yeah. My blog.

Image
0

2.4K

loggerhead/myblog repository overview

Travis Build Status Docker image badge

⁠Server

⁠Setup

  1. Put certificates to /var/www/blog/cert, including:

    loggerhead.me.bundle.pem
    loggerhead.me.key
    loggerhead.me.trusted.crt
    
  2. sudo scripts/setup-server.sh

  3. Setup Secret in GitHub webhook or token in Coding webhook.

  4. Append following environments to .profile, .zshrc or .bashrc:

    export BLOG_UPDATE_URL="/coding/push"
    export BLOG_WEBHOOK_TOKEN="YOUR_SECRET_IN_WEBHOOK"
    

⁠Running

Setup environment variables in scripts/server-envs.sh

scripts/start-server.sh

⁠Client

scripts/setup-client.sh

Tag summary

Content type

Image

Digest

Size

52.4 MB

Last updated

about 9 years ago

docker pull loggerhead/myblog