mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-09-11 19:17:43 +03:00
* feat: ai settings page * chore: intergate client api * chore: replace open ai calls * chore: disable gen image from ai * chore: clippy * chore: remove learn about ai * chore: fix wanrings * chore: fix restart button title * chore: remove await * chore: remove loading indicator --------- Co-authored-by: nathan <nathan@appflowy.io> Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io> |
||
---|---|---|
.. | ||
public | ||
src | ||
wasm-libs | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.cjs | ||
index.html | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts |
AppFlowy Web Project
Installation
cd appflowy-web
# Install dependencies
rm -rf node_modules && pnpm install
Running the app
# development
pnpm run dev
# production mode
pnpm run build
# generate wasm
pnpm run wasm
Run tests in Chrome
Before executing the test, you need to install the Chrome Driver. If you are using a Mac, you can easily install it using Homebrew.
brew install chromedriver
Go to frontend/appflowy_web/wasm-libs
and run:
wasm-pack test --chrome
Run tests in headless Chrome
wasm-pack test --headless --chrome