https://github.com/zhouboyi1998/note-iris
https://github.com/zhouboyi1998/note-iris
go-mongodb-driver iris
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhouboyi1998/note-iris
- Owner: zhouboyi1998
- License: mit
- Created: 2025-01-26T03:19:31.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-14T09:09:12.000Z (over 1 year ago)
- Last Synced: 2025-03-29T17:16:59.429Z (about 1 year ago)
- Topics: go-mongodb-driver, iris
- Language: Go
- Homepage:
- Size: 18.6 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-iris
### 📖 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-iris .
```
#### Docker Run
```
docker run -d -p 18098:18098 --name note-iris note-iris
```
### 📜 Licence
[MIT License](https://opensource.org/licenses/MIT) Copyright (c) 2022 周博义