# note-macaron **Repository Path**: zhouboyi/note-macaron ## Basic Information - **Project Name**: note-macaron - **Description**: No description available - **Primary Language**: Go - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-26 - **Last Updated**: 2025-02-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: macaron, MongoDB ## README

📔 note-macaron

### 📖 Language [简体中文](./README.md) | English ### ⌛ Start #### Project configuration * 1:Configure `Global GOPATH` & `Project GOPATH` * 2:Configure `Environment` * `GOPROXY=https://goproxy.cn,direct` * `GOFLAGS=-buildvcs=false` * `ENVCONFIG=dev` #### Install dependencies ``` go mod tidy ``` #### Run ``` go run main.go ``` #### compile to an executable file ``` go build main.go ``` ### 🐳 Docker #### Compile the Golang code to Linux executable file ``` set GOOS=linux set GOARCH=amd64 go build main.go ``` #### Docker Build ``` docker build -t note-macaron . ``` #### Docker Run ``` docker run -d -p 18083:18083 --name note-macaron note-macaron ``` ### 📜 Licence [MIT License](https://opensource.org/licenses/MIT) Copyright (c) 2022 周博义