- Development on Windows is experimental, but included here for reference.
- Please report any issues you encounter while setting up the project on Windows.
- You must be able to run PowerShell as an administrator to install the system dependencies.
Chocolatey is a package manager for Windows, allowing you to install packages from the command line.
# run as administrator
# https://chocolatey.org/install
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
NVM is a version manager for Node.js, allowing you to switch between different versions of Node.js.
# run as administrator
choco install nvm
# run as administrator
nvm install 20
nvm use 20
Yarn is the package manager used for dependency management of the Electron app and NextJS frontend.
npm install --global yarn
# run as administrator
choco install python3.10
# run as administrator
python3.10 -m pip install pipx
# run as administrator
pipx install poetry
If prompted to add poetry
to your PATH, follow the prompt.
The install-deps
script will install the dependencies for all parts of the project.
The Electron app, the NextJS frontend, and the Python backend.
# run from the project root
poetry shell
yarn install-deps
Duplicate the .env.example
file and rename it to .env
.
# run from the project root
cp .env.example .env
Then fill in the required environment variables.
NODE_ENV
- Set todevelopment
for development.production
is only used for production builds built through the release script.FORK_URL
- Set to your desired HTTP RPC endpoint.DEV_RPC
- Set to the same value asFORK_URL
.
yarn dev