https://github.com/zhouboyi1998/note-beego
https://github.com/zhouboyi1998/note-beego
beego go-mongodb-driver
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhouboyi1998/note-beego
- Owner: zhouboyi1998
- License: mit
- Created: 2025-01-21T16:21:13.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-02-14T08:56:45.000Z (8 months ago)
- Last Synced: 2025-02-14T09:39:16.907Z (8 months ago)
- Topics: beego, go-mongodb-driver
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
README
📔 note-beego
### 📖 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=linuxset GOARCH=amd64
go build main.go
```#### Docker Build
```
docker build -t note-beego .
```#### Docker Run
```
docker run -d -p 18097:18097 --name note-beego note-beego
```### 📜 Licence
[MIT License](https://opensource.org/licenses/MIT) Copyright (c) 2022 周博义