docs: update contributing documentation (#8486)

This commit is contained in:
野声
2024-10-14 18:18:59 +08:00
committed by GitHub
parent d0c9a7bf81
commit 79ef8c3ff8
2 changed files with 7 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ docker run --rm --name mailhog -p 1025:1025 -p 8025:8025 mailhog/mailhog
```
docker ps
docker exec -it CONTAINER_ID psql -U postgres ## change container_id
docker exec -it affine-postgres psql -U postgres ## `affine-postgres` is the container name from the previous step
```
### in the terminal, following the example to user & table
@@ -96,6 +96,12 @@ yarn workspace @affine/native build
yarn workspace @affine/server dev
```
when server started, it will created a default user:
email: dev@affine.pro
name: Dev User
password: dev
## start core (web)
```