mevboost.org icon indicating copy to clipboard operation
mevboost.org copied to clipboard

About Local Deployment

Open reinforcementwonder opened this issue 1 year ago • 0 comments

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?)

reinforcementwonder avatar Jun 06 '23 23:06 reinforcementwonder