codex-mirror

command module
v0.0.0-...-3113f86 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 13 Imported by: 0

README

GitHub go.mod Go version GitHub release (latest by date) Go Report Card License GitHub CI GitHub CD Website

Codex Mirror for Formosa & Pescadores

⚠ Personal project to track change of laws. USE AT YOUR OWN DISGRESSION.

ℹ Please refer to 全國法規資料庫 for the most accurate and up-to-date material.

🌐 Hosting on Github Pages https://iunn-sh.github.io/codex-mirror

dir content format
raw downloaded and unzipped files .zip / .csv / .json
depot parsed data from raw .json
docs processed data for frontend .md

Local Development

# Go: process data 
## with Docker
docker run --rm $(docker build -t codex-mirror -q .)
docker run --rm $(docker build -t codex-mirror --progress=plain --no-cache .) # debug
## with Golang (tested with 1.20)
go fmt ./...
go mod tidy
go run .

# Mkdocs Material: host frontend
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material:9.5.5
# visit http://localhost:8000/ from browser

Production Deployment

Commit or merge PR to main branch

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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