backend
Backend system for https://id.p1ass.com written in Go
Requirements
Getting Started
- Execute application
go run main.go
Build Image
Pre requirements
Install ko
go install github.com/google/ko@latest
Build Image for local
ko build --local --base-import-paths .
# or you can run container locally:
docker run -p 8080:8080 $(ko build --local --base-import-paths .)
Push to Google Artifact Registry
cp .env.template .env
# Edit environment values
vim .env
ko build --base-import-paths . --platform=linux/amd64,linux/arm64