Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
Before you follow the rest of this guide you'll want to make sure you have installed (>=16) and (>7.x). You'll also need Git setup to pull our source code from GitHub.
We also recommend using an IDE, such as , and the nx console plugin is recommended for creating dependencies.
Clone our GitHub
Currently we have two versions of AFFiNE:
. This version uses the master
branch, this is the latest version under active development. We plan to update this to the master branch in the near future.
. This version uses the branch pre-alpha
, however is no longer actively developed and has been effectively archived.
Select the master branch
Install dependencies
Start AFFiNE
Default settings will run AFFiNE on localhost, port 3000 - http://localhost:3000
The .env.local
file can be found in the project folder. You can add the following variable to enable the development environment.
For git-cz functionality, please install the corresponding dependencies globally.