Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Sweetnow committed Sep 26, 2024
1 parent fcc52d8 commit f231ffd
Show file tree
Hide file tree
Showing 34 changed files with 192 additions and 206 deletions.
20 changes: 3 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ go get -u git.fiblab.net/sim/protos@v${major}.${minor}.${patch}
## Python库使用

```shell
pip install pycityproto --extra-index-url https://__token__:[email protected]/api/v4/projects/26/packages/pypi/simple
pip install pycityproto
```

安装 grpcio 的过程中,如果出现
Expand All @@ -102,28 +102,14 @@ apk add g++

#### NPM

首先,保证项目已经能够正确访问NPM服务
```bash
npm config set @fiblab:registry https://git.fiblab.net/api/v4/projects/26/packages/npm/
npm config set -- '//git.fiblab.net/api/v4/projects/26/packages/npm/:_authToken' "glpat-sdKgi23Ns3KvfpyrREzy"
```

然后,使用`npm install`命令安装SDK:
使用`npm install`命令安装SDK:
```bash
npm install @fiblab/cityproto
```

#### Yarn
首先,保证项目已经能够正确访问NPM服务
```bash
yarn config set @fiblab:registry https://git.fiblab.net/api/v4/projects/26/packages/npm/
# 以下未经测试
yarn config set -- '//git.fiblab.net/api/v4/projects/26/packages/npm/:_authToken' "glpat-sdKgi23Ns3KvfpyrREzy"
```

然后,使用`npm install`命令安装SDK:
使用`yarn add`命令安装SDK:
```bash
yarn add @fiblab/cityproto
```


20 changes: 10 additions & 10 deletions go/city/agent/v2/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions go/city/agent/v2/agent_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go/city/agent/v2/motion.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions go/city/comm/input/v1/comm.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go/city/config/v1/config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions go/city/economy/v1/economy.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f231ffd

Please sign in to comment.