makelar

command module
v0.0.0-...-2049f16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2016 License: Unlicense Imports: 6 Imported by: 0

README

Makelar

Unmaintained

Little program to receive webhook then update repository, build hugo site to output directory.

This project just my naive implementation for learning golang.

Usage:

MLR_PORT=8080 \
MLR_URL=/webhook \
MLR_HUGO_SITE=~/path/to/hugo/site \
MLR_HUGO_BIN=/path/to/bin/hugo \
MLR_OUTPUT_DIR=/path/to/public_html \
./makelar

Documentation

Overview

Makelar Config:

  • path to hugo site directory
  • path to hugo executable
  • path to hugo output directory
  • path for url

Start:

  1. get all path
  2. wait request incoming

Request Incoming:

  1. delete output directory content
  2. runHugo and runGitPull
  3. wait for next request

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL