update pocketbase,
This commit is contained in:
15
002_source/pocketbase/README.MD
Normal file
15
002_source/pocketbase/README.MD
Normal file
@@ -0,0 +1,15 @@
|
||||
# README
|
||||
|
||||
|
||||
## to seed a pocketbase
|
||||
```bash
|
||||
# this will create a new database and re-initialize tables
|
||||
$ docker compose up -d
|
||||
|
||||
# re-inject data content
|
||||
$ docker compose exec -it pocketbase sh
|
||||
$ pocketbase seed_db
|
||||
|
||||
# inside docker prompt, press seed_w
|
||||
/# nodemon -w /pb_hooks --exec "pocketbase seed"
|
||||
```
|
Reference in New Issue
Block a user