Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.85 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.85 KB

GitHub release (latest SemVer) Docker Image Version (latest semver) Website GitHub go.mod Go version GitHub

Source code for AS207414.net

Usage

docker-compose

---
version: "3"
services:
  as207414:
    image: ganawa/as207414-ui:latest
    container_name: web
    ports:
      - 4000:4000
    restart: unless-stopped

docker cli

docker run -d \
  --name=web \
  -p 4000:4000 \
  --restart unless-stopped \
  ganawa/as207414-ui:latest

Building locally

If you want to make local modifications to these images for development purposes or just to customize the logic:

git clone https://github.com/as207414/as207414.net
make run/ui # Runs the local code using Go
make build/ui # Builds binaries to bin/
make buid/ui/docker DOCKER_IMAGE_NAME={IMAGE NAME}
make run/ui/docker DOCKER_IMAGE_NAME={IMAGE NAME} # Runs built docker image

Thanks

To Alex Edward's great books Let's Go and Let's Go Further where most of the structure of this code was from and modified for the site.