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: update build guideline (#2434)
fourdim0a49258dddad
diff --git a/.gitignore b/.gitignoreindex ba02904ee8..f0f8ca3059 100644--- a/.gitignore+++ b/.gitignore@@ -28,9 +28,9 @@ node_modules# IDE - VSCode.vscode/*-!.vscode/settings.json!.vscode/tasks.json-!.vscode/launch.json+!.vscode/settings.template.json+!.vscode/launch.template.json!.vscode/extensions.json# miscdiff --git a/.vscode/launch.json b/.vscode/launch.template.jsonsimilarity index 55%rename from .vscode/launch.jsonrename to .vscode/launch.template.jsonindex eb4d97a729..eeb8902687 100644--- a/.vscode/launch.json+++ b/.vscode/launch.template.json@@ -6,6 +6,12 @@"name": "Run Dev","request": "launch","type": "node-terminal"+ },+ {+ "command": "yarn run dev:local",+ "name": "Run Dev Locally",+ "request": "launch",+ "type": "node-terminal"}]}diff --git a/.vscode/settings.json b/.vscode/settings.template.jsonsimilarity index 100%rename from .vscode/settings.jsonrename to .vscode/settings.template.jsondiff --git a/apps/web/README.md b/apps/web/README.mdindex 0462cf7a4d..2c45fd1844 100644--- a/apps/web/README.md+++ b/apps/web/README.md@@ -10,7 +10,7 @@ First, run the development server:pnpm run dev```-Open [http://localhost:8080](http://localhost:3000) with your browser to see the result.+Open [http://localhost:8080](http://localhost:8080) with your browser to see the result.You can start editing the page by modifying `src/pages/workspace/[workspaceId]/all.tsx`. The page auto-updates as you edit the file.diff --git a/docs/BUILDING.md b/docs/BUILDING.mdindex 8a7608a607..29d3e1fee6 100644--- a/docs/BUILDING.md+++ b/docs/BUILDING.md@@ -31,13 +31,13 @@ nvm use 18## Setup Environment-This setup requires modern yarn (currently `3.5.0`), run this if your yarn version is `1.x`+This setup requires modern yarn (currently `3.x`), run this if your yarn version is `1.x`Reference: [Yarn installation doc](https://yarnpkg.com/getting-started/install)```shcorepack enable-corepack prepare [email protected] --activate+corepack prepare yarn@stable --activate``````sh@@ -52,7 +52,7 @@ yarn install```shell# Run OctoBase container in backgrounddocker pull ghcr.io/toeverything/cloud-self-hosted:nightly-latest-docker run --env=SIGN_KEY=test123 --env=RUST_LOG=debug --env=JWST_DEV=1 --env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --workdir=/app -p 3000:3000 --runtime=runc -d ghcr.io/toeverything/cloud-self-hosted:nightly-latest+docker run --env=SIGN_KEY=test123 --env=RUST_LOG=debug --env=JWST_DEV=1 --env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --workdir=/app -p 127.0.0.1:3000:3000 --runtime=runc -d ghcr.io/toeverything/cloud-self-hosted:nightly-latest``````shelldiff --git a/package.json b/package.jsonindex f1def835cf..598249d8f6 100644--- a/package.json+++ b/package.json@@ -13,7 +13,7 @@"scripts": {"dev": "dev-web","dev:ac": "API_SERVER_PROFILE=ac yarn workspace @affine/web dev",- "dev:local": "API_SERVER_PROFILE=local yarn workspace @affine/web dev",+ "dev:local": "PORT=8080 API_SERVER_PROFILE=local yarn workspace @affine/web dev","dev:app": "yarn workspace @affine/electron dev:app","build": "yarn workspace @affine/web build","build:client": "yarn workspace @affine/client-app build:app",