Getting Started
The Evidential suite has a backend API server (FastAPI) and a frontend web-app (NextJS).
Note
Note: See our Reading List for links to documentation on our open-source tech stack.
Contributing from outside the team?
The clone commands below use the upstream repositories. If you're an external contributor, fork first and clone your fork instead β you won't have push access to the upstream repos.
Setting up on Windows?
Windows needs a few extra steps first. Start with Windows Setup β it sets up WSL and installs everything in Prerequisites for you β then continue with Setup inside WSL.
Prerequisites
-
Install Task.
-
Install Docker.
-
Install Git LFS.
-
Install pnpm. pnpm will select the Node.js version required by the frontend.
-
Install prek.
Setup
Run these steps on macOS, on Linux, or inside WSL on Windows.
Backend
Follow the steps below to get a local development environment running.
-
Clone the https://github.com/agency-fund/evidential-be repository:
-
Set up the prek git hooks in your local checkout:
-
Install dependencies (Atlas, uv, Python dependencies) by running:
-
Run the unit tests:
-
Get familiar with the task runner. Most of the commands you will run are defined in Taskfile.yml. Run:
-
Start the backend server:
This will start the server at
http://localhost:8000. It stores its state in a local Postgres instance, running in Docker, onlocalhost:5499. -
Visit the local interactive OpenAPI docs page:
http://localhost:8000/docs
Frontend
-
Clone the https://github.com/agency-fund/evidential-fe repository:
-
Set up the prek git hooks in your local checkout:
-
Confirm that pnpm selects and runs the required Node.js version:
-
Start the frontend server:
Windows Setup
-
From Command Prompt, install WSL 2:
-
From Command Prompt, configure WSL networking so that servers running in WSL are reachable from Windows. Open the WSL config file:
Add the following, then save and close the file:
Restart WSL to apply the change, then reopen WSL when you're ready to continue.
-
Install the prerequisites by running
tools/windows_setup.shfrom the backend repo: -
Go back to Setup and follow the remaining steps from inside WSL.