website-public/README.md

1011 B

distrust.co

Web page source.

Instructions

  1. If the repo was not cloned with submodules:
$ git submodule update --init --recursive

You can manually clone the submodule into the dir if the above command doesn't work:

git clone https://github.com/b2a3e8/jekyll-theme-console _vendor/jekyll-theme-console
  1. Install make.
  2. Install docker
  3. Build Docker container
$ make build
  1. Serve site at 0.0.0.0:4000:
$ make serve

Publish Docker container to Registry

  1. Use docker login with a permission token with write package scope
  2. Tag container with repo name
docker tag milksad-distrust-co git.distrust.co/milksad/website
  1. Push container to container registry
docker push git.distrust.co/milksad/website

Generate Static Files

  1. Output static files in _site directory:
$ make _site

Cleanup

  1. Remove all build artifacts:
$ make fullclean