website-public/README.md

1.0 KiB

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 Codeberg

  1. Use docker login with a Codeberg PAT with write package scope
  2. Tag container with Codeberg repo name
docker tag milksad-distrust-co codeberg.org/distrust/milksad-distrust-co
  1. Push container to Codeberg container registry
dockerb push codeberg.org/distrust/milksad-distrust-co

Generate Static Files

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

Cleanup

  1. Remove all build artifacts:
$ make fullclean