update readme instructions

This commit is contained in:
cblgh 2021-03-23 18:03:13 +01:00
parent f19841a8c8
commit bc88a56c38
1 changed files with 5 additions and 2 deletions

View File

@ -105,11 +105,14 @@ Aside: I would have used `sqlc` since it's a bit more minimal and uses hand writ
```bash
cd cmd/insert-user
go build
./insert-user $HOME/.ssb-go-room/roomdb my-user
# optional step: run a script to generate a valid ssb id @<pubkey>.ed25519, useful for trying things out quickly
./generate-fake-id.sh
./insert-user -name <username> -key <@pubkey.ed25519>
```
Then repeat your password twice and you are all set for development.
Run `insert-user` without any flags to see all the options.
## Testing
### Rooms