https://github.com/zep283/personal-website-golang
Simple golang + HTML website with Helm chart and GitHub Actions integration
https://github.com/zep283/personal-website-golang
github-actions golang helm website
Last synced: 3 months ago
JSON representation
Simple golang + HTML website with Helm chart and GitHub Actions integration
- Host: GitHub
- URL: https://github.com/zep283/personal-website-golang
- Owner: zep283
- Created: 2024-05-02T17:52:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T23:29:23.000Z (about 2 years ago)
- Last Synced: 2025-12-25T13:46:20.975Z (7 months ago)
- Topics: github-actions, golang, helm, website
- Language: Go
- Homepage: https://self.zep-lab.dev
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# self.zep-lab.dev
Simple golang website (:
## Set up guide from scratch for golang module
1. Download golang https://go.dev/dl/
2. `go version`
3. `mkdir person-web-golang`
4. `go mod init`
5. Create source code files (main.go, Dockerfile, etc)
6. Dowload Rancher Desktop for docker https://rancherdesktop.io
7. `docker build -f ./build/Dockerfile -t self-zep-lab --progress=plain --no-cache .`
8. `docker run -d -p 8080:8080 self-zep-lab`
9. GH Actions support - add .github/workflows/ci.yml and add corresponding secrets in repository settings
- https://github.com/marketplace/actions/build-and-push-docker-images#inputs
- use tags to control which commits trigger build
- `docker pull zep283/personal-web-golang:latest`
- `docker run -d -p 8080:8080 zep283/personal-web-golang`
10. `helm upgrade --install self . -n personal-web`