mevboost.org
mevboost.org copied to clipboard
About Local Deployment
Hi Anish, when setting up stats
, I met the following problem:
Error: Prisma schema validation - (get-config wasm)
Error code: P1012
error: Environment variable not found: DATABASE_URL.
--> schema.prisma:10
|
9 | provider = "postgresql"
10 | url = env("DATABASE_URL")
|
Validation Error Count: 1
I guess it's because I did not specify the DATABASE_URL
in the env
file. To start running a site locally, what else should I do (like how should I crawl all the block data from the RPC and store them in a PostgreSQL database?)