File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 10
10
` make deps ` 可能非常耗时间, 建议开代理, 或者直接从 hub.ricebook.net/base/centos: onbuild-eru-core-2017 .03.04 这个镜像 copy.
11
11
12
12
``` shell
13
- git config --global url. " git@gitlab.ricebook.net: " .insteadOf " https://gitlab.ricebook.net/ "
14
- go get gitlab.ricebook.net/platform/ core.git
15
- mv $GOPATH /src/gitlab.ricebook.net/platform/core.git $GOPATH /src/gitlab.ricebook.net/platform/core
16
- cd $GOPATH /src/gitlab.ricebook.net/platform/core
13
+ # libgit2 锁定在 0.25.1
14
+ cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew- core/Formula
15
+ gco 9c527911c8c630355d92df001575cacbb4a8b8b4 libgit2.rb
16
+ HOMEBREW_NO_AUTO_UPDATE=1 brew install libgit2
17
17
make deps
18
- make build
19
18
```
20
19
21
20
## Upgrade core on test/production server
22
21
23
22
``` shell
24
23
make build
25
24
# test server
26
- devtools/upgrade-eru-core .sh test
25
+ devtools/deploy .sh test
27
26
# prod server
28
- devtools/upgrade-eru-core .sh prod
27
+ devtools/deploy .sh prod
29
28
```
30
29
31
30
### GRPC
32
31
33
32
Generate golang & python code
34
33
35
34
``` shell
36
- $ go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
37
- $ make golang
38
- $ make python
35
+ go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
36
+ make golang
37
+ make python
39
38
```
40
39
41
40
Current version of dependencies are:
You can’t perform that action at this time.
0 commit comments