mirror of
https://github.com/usememos/memos.git
synced 2024-12-29 22:33:39 +03:00
docs: add buf to development guide
This commit is contained in:
parent
b13042d644
commit
6eeee6b704
@ -10,6 +10,7 @@ Memos is built with a curated tech stack. It is optimized for developer experien
|
|||||||
|
|
||||||
- [Go](https://golang.org/doc/install)
|
- [Go](https://golang.org/doc/install)
|
||||||
- [Air](https://github.com/cosmtrek/air#installation) for backend live reload
|
- [Air](https://github.com/cosmtrek/air#installation) for backend live reload
|
||||||
|
- [Buf](https://buf.build/docs/installation)
|
||||||
- [Node.js](https://nodejs.org/)
|
- [Node.js](https://nodejs.org/)
|
||||||
- [pnpm](https://pnpm.io/installation)
|
- [pnpm](https://pnpm.io/installation)
|
||||||
|
|
||||||
@ -27,7 +28,13 @@ Memos is built with a curated tech stack. It is optimized for developer experien
|
|||||||
air -c scripts/.air.toml
|
air -c scripts/.air.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
3. start frontend dev server
|
3. generate TypeScript code from protobuf with `buf`
|
||||||
|
|
||||||
|
```
|
||||||
|
cd proto && buf generate
|
||||||
|
```
|
||||||
|
|
||||||
|
4. start frontend dev server
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd web && pnpm i && pnpm dev
|
cd web && pnpm i && pnpm dev
|
||||||
|
Loading…
Reference in New Issue
Block a user