1
0
mirror of https://github.com/beego/bee.git synced 2024-11-27 03:01:29 +00:00
Commit Graph

126 Commits

Author SHA1 Message Date
RS
01569d265c
Update dockerize.go
- gedep is deprecated. (https://github.com/tools/godep)
  thus Dockerfile not building due to the following error:
  => ERROR [2/6] RUN go get github.com/tools/godep
  ...
  'go get' is no longer supported outside a module.


main changes in this commit
- Changed outdated Dockerfile in dockerBuildTemplate
- hardcoding baseimage version "golang:1.20.2" because this version is latest (At the time of this commit) and working 
- used Dockerfile examples from official golang image on docker.com (https://docs.docker.com/language/golang/build-images/ & https://hub.docker.com/_/golang)
- Also added new feature to generate docker-compose.yaml, which uses the generated Dockerfile as a build
- docker-compose up -d works with Docker Compose version v2.17.2
- changed and tested expose ports - working for Dockerfile and docker-compose.yaml
2023-04-02 03:40:14 +02:00
RS
5aa9764e55
Update apiapp.go
Clearly main function for var apiMainconngo uses "beeLogger.Log.Fatal("%s", err", resulting in an error when executing bee run. Issue is resolved by adding lib "beeLogger "github.com/beego/bee/v2/logger" to var apiMainconngo's import list.
2023-03-19 23:27:34 +01:00
Sangseng Lee
d78f259fdf
fix: change site url on default controller 2022-07-29 10:36:30 +09:00
Deng Ming
afe1678459 fix Beego#4972: bee version failed 2022-06-10 19:02:53 +08:00
Ming Deng
d04f11c57a Fix 767 2022-05-23 22:01:34 +08:00
Deng Ming
e3d0b640df bump up beego to v2.0.2, bump up swagger ui to v4.6.1 2022-03-10 00:10:04 +08:00
Daniel Ashcroft
1a47e0e945
Fix description of the new command 2021-09-17 01:26:52 +01:00
DataSttructure
e22201eae3
Update apiapp.go
Add error handling for beego.AppConfig.String("sqlconn") in line 102
2021-08-12 17:57:59 +08:00
jianzhiyao
112769d885
Update fix1To2.go 2021-08-05 18:31:53 +08:00
jianzhiyao
97e66f3d18
fix command "bee fix -t 2"
due to import developing branch of beego
2021-08-05 18:26:46 +08:00
Yu Huang
d0cfcd96ba fix lint with uncoditional strings.Replace 2021-06-17 11:02:31 -04:00
Ming Deng
7b3d1b5f64 Remove Beego version because when we use GO mod, we can not know specific project's beego version 2021-05-06 22:58:31 +08:00
Ming Deng
22a4b07b4a Add bee generate routers command 2021-02-09 23:34:45 +08:00
Ming Deng
3a727232d7
Merge pull request #760 from wangle201210/develop
Template url customization
2021-01-11 23:40:50 +08:00
王厚伟
a44ef93f99 接收不同git仓库 2021-01-08 02:09:11 +08:00
zyt312074545
6f2d624a32 fix help message 2020-12-29 00:04:09 +08:00
Dings
7db43f16d5 fix generate case problem. 2020-12-27 15:56:23 +08:00
王厚伟
adbc0af183 Merge branch 'develop-up' into develop
# Conflicts:
#	README.md
#	cmd/commands/update/update.go
#	cmd/commands/version/banner.go
2020-12-22 22:17:05 +08:00
Ming Deng
486ac49f38 Fix beego#4377 2020-12-19 20:06:27 +08:00
Ming Deng
06e09b0f87 upgrade version to 2 2020-12-16 13:35:23 +08:00
Ming Deng
c93bda1d3c Fix Bee 2020-12-14 16:25:27 +08:00
Ming Deng
cdb41fad3f using beego v2 2020-12-14 13:08:47 +08:00
Ming Deng
9d68c302bd Using beego/beego 2020-12-14 00:47:33 +08:00
王厚伟
b8213eba24 add InitToml and fmt code 2020-11-26 14:15:00 +08:00
王厚伟
9c423bbc97 merge 2.0 2020-11-26 13:58:15 +08:00
Ming Deng
bc846b254e Update to v1.12.3 2020-11-25 21:01:30 +08:00
Ming Deng
62c20031a1 update beego version 2020-11-25 20:56:37 +08:00
Ming Deng
0080f54a08 replace github.com/gadelkareem/delve with github.com/go-delve/delve 2020-11-10 22:39:27 +08:00
Ming Deng
f2a93c8c75 using beego to rerwite all commands 2020-11-05 23:57:37 +08:00
Ming Deng
fa7aee4d01 Fix beego module 2020-11-02 22:26:46 +08:00
Ming Deng
29e5fadf6a Bee fix command 2020-10-15 22:10:45 +08:00
Ming Deng
e0fd237002 add dev githook command 2020-10-09 23:35:22 +08:00
Ming Deng
cef7185b35 Bee new using v2.0 beego 2020-10-07 16:36:04 +08:00
wangle
674b52a732 change updatedTime to publishedTime 2020-09-15 00:05:38 +08:00
wangle
7a7357a983 print lastPushedTime & update readme.md 2020-09-14 23:27:33 +08:00
wangle
8f0badc630 add command "bee pro toml" for create beegopro.toml 2020-09-10 19:35:44 +08:00
wangle
9c63635169 add cmd 'bee update' to update self
just notice once a day if there is a new version
2020-08-09 15:27:37 +08:00
wangle
e0ea0abf5b Automatic update bee every day
Backup only when content changes
Fix the version
2020-08-09 15:27:37 +08:00
askuy
3e5f9cf213 Revert "Change bee version"
This reverts commit e0ce20407c.
2020-07-27 13:13:23 +08:00
qiantao
dbb41fa430 1. default gopath=false,
2. fix error work path.
2020-07-26 10:26:38 +08:00
wangle
e0ce20407c Change bee version 2020-07-26 10:24:52 +08:00
yitea
f3240109bf bee new uses go mod by default 2020-07-18 22:09:28 +08:00
yitea
adf3cc850f bee pro remove go dependence 2020-07-18 10:45:50 +08:00
qiantao
8893ad2d13 generate go.mod skip Minor version. 2020-07-18 10:45:50 +08:00
qiantao
fccdcbbeda fix #477 2020-07-18 10:45:50 +08:00
yitea
2c329fd606 support beego pro migration exec sql 2020-07-11 17:44:39 +08:00
yitea
8758f6eaa1 beego pro init 2020-07-04 22:58:03 +08:00
qiantao
9433a7b66f 1. new,api,hprose 命令增加两个参数 [-module=true] [-beego=v1.12.1] 用于生成go module项目
2. generate,migrate命令不再打印GOPATH.
3. pack命令排除。
4. run命令支持传递ldflags参数
5. fix watch file bug.ignoredFilesRegExps数组对每个文件增加$,防止目录存在tmp的情况
6. getPackagePath函数被调用时如果找不到GOPATH,则看看工程有没有go.mod 有就当做go module项目处理。
7. .travis.yml检查时排除/pkg/mod/目录
2020-06-25 22:29:27 +08:00
Waleed Gadelkareem
ad695cd8c6 Merge branch 'develop' of github.com:beego/bee into develop
# Conflicts:
#	cmd/commands/dlv/dlv_amd64.go
#	go.mod
#	go.sum
2020-06-20 11:58:52 +02:00
askuy
8ebb7977f9 bee update version 2020-06-20 12:26:28 +08:00