mimic
mimic: Define your Deployments, Infrastructure and Configuration as a Go Code π
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- .gitignore
- copyright.mod
- copyright.sum
- embedmd.mod
- embedmd.sum
- faillint.mod
- faillint.sum
- go.mod
- goimports.mod
- goimports.sum
- golangci-lint.mod
- golangci-lint.sum
- mdox.mod
- mdox.sum
- misspell.mod
- misspell.sum
- proxy.mod
- proxy.sum
- README.md
- variables.env
- Variables.mk
- bug-report.md
- feature-request.md
- go.yaml
- best_practice.md
- doc.go
- encoder.go
- encoding_test.go
- errreader.go
- hcl.go
- json.go
- yaml.go
- example.go
- go.mod
- go.sum
- volumes.go
- doc.go
- azure.go
- config.go
- consul.go
- dns.go
- ec2.go
- file.go
- gce.go
- kubernetes.go
- marathon.go
- openstack.go
- targetgroup.go
- triton.go
- zookeeper.go
- prometheus.go
- doc.go
- go.mod
- go.sum
- main.go
- README.md
- rpc.proto
- test.sh
- types.proto
- go.mod
- go.sum
- main.go
- .errcheck_excludes.txt
- .gitignore
- .golangci.yml
- COPYRIGHT
- doc.go
- files.go
- gen.go
- go.mod
- go.sum
- LICENSE
- Makefile
- panic.go
- README.md
# μ€μΉ κ°μ΄λ
1. μ½λ λ΄λ €λ°κΈ°
git clone https://github.com/bwplotka/mimic
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd mimic
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. Go
λ³΄ν΅ μΆμ²μ¬μ μ€λΉλ¬Ό
cd .bingo
μ΄ νλ‘μ νΈμ κ΄λ ¨ νμΌμ΄ νμ ν΄λ μμ μμ΄μ, λ¨Όμ κ·Έ ν΄λλ‘ μ΄λν©λλ€.
go build ./...
Go νλ‘κ·Έλ¨μ μ»΄νμΌν΄ μ€ν νμΌμ λ§λλλ€.
go run .
λ°λ‘ λΉλνμ§ μκ³ λ°λ‘ Go νλ‘κ·Έλ¨μ μ€νν©λλ€.
λΉλκ° μλ¬ μμ΄ λλλ©΄ μ±κ³΅μ
λλ€. go run . μ μΌλ€λ©΄ ν°λ―Έλ μΆλ ₯μ νμΈνμΈμ.
3. Make
보ν΅μ¬μ μ€λΉλ¬Ό
- Git GitHubμμ νλ‘μ νΈ μ½λλ₯Ό λ΄λ €λ°μΌλ €λ©΄ νμν©λλ€.
- Make Linux/macOSλ λ³΄ν΅ κΈ°λ³Έ μ€μΉλμ΄ μμ΅λλ€. Windowsλ λ³λ μ€μΉ(μ: MSYS2, WSL)κ° νμν©λλ€.
make
μμ±λ λΉλ μ€μ μ λ°νμΌλ‘ μ€μ μ»΄νμΌμ μ§νν΄ μ€ν νμΌμ λ§λλλ€.
μλ¬ μμ΄ λλλ©΄ μ±κ³΅μ
λλ€. μμ±λ μ€ν νμΌμ μ§μ μ€νν΄λ³΄μΈμ.
// repository documentation
Was this content helpful?
(0 ratings)
