fix post generate
This commit is contained in:
35
readme.md
Normal file
35
readme.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# ailog
|
||||
|
||||
## config
|
||||
|
||||
```sh
|
||||
$ ls public/
|
||||
config.json
|
||||
networks.json
|
||||
client-metadata.json
|
||||
```
|
||||
|
||||
## preview
|
||||
|
||||
```sh
|
||||
$ npm run dev
|
||||
```
|
||||
|
||||
## content generate
|
||||
|
||||
speed up by using local cache
|
||||
|
||||
```sh
|
||||
$ npm run fetch # API download -> content/${did}/...
|
||||
$ npm run generate # content html -> dist/
|
||||
$ npm run preview # dist/ preview server
|
||||
```
|
||||
|
||||
```sh
|
||||
content/
|
||||
└── did:plc:uqzpqmrjnptsxezjx4xuh2mn/
|
||||
├── profile.json
|
||||
└── ai.syui.log.post/
|
||||
└── 3mch5zca4nj2h.json
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user