There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
docs(server): update docs for running server locally (#6080)
Peng Xiao4e79d720df8f
diff --git a/docs/developing-server.md b/docs/developing-server.mdindex 2c044f25b1..6df00f5fdf 100644--- a/docs/developing-server.md+++ b/docs/developing-server.md@@ -49,22 +49,18 @@ postgres=# \du### Set the following config to `packages/backend/server/.env`-```-DATABASE_URL="postgresql://affine:affine@localhost:5432/affine"-NEXTAUTH_URL="http://localhost:8080/"-```+In the following setup, we assume you have postgres server running at localhost:5432 and mailhog running at localhost:1025.-You may need additional env for auth login. You may want to put your own one if you are not part of the AFFiNE team--For email login & password, please refer to https://nodemailer.com/usage/using-gmail/+When logging in via email, you will see the mail arriving at localhost:8025 in a browser.```-MAILER_SENDER=-MAILER_USER=-MAILER_PASSWORD=-OAUTH_GOOGLE_ENABLED="true"-OAUTH_GOOGLE_CLIENT_ID=-OAUTH_GOOGLE_CLIENT_SECRET=+DATABASE_URL="postgresql://affine:affine@localhost:5432/affine"+NEXTAUTH_URL="http://localhost:8080"+MAILER_SENDER="[email protected]"+MAILER_USER="auth"+MAILER_PASSWORD="auth"+MAILER_HOST="localhost"+MAILER_PORT="1025"```## Prepare prisma