NVM is a version manager for Node.js, allowing you to switch between different versions of Node.js.
sudo apt install curl
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.bashrc
nvm install
nvm use
Yarn is the package manager used for dependency management of the Electron app and NextJS frontend.
npm install --global yarn
Use Python 3.10 for the project.
sudo apt install python3.10
sudo apt install pipx
pipx install poetry
If prompted to add the poetry
command to your shell's config file, accept 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.
yarn install-deps
Duplicate the .env.example
file and rename it to .env
.
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