Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Local Deployment #14

Open
reinforcementwonder opened this issue Jun 6, 2023 · 0 comments
Open

About Local Deployment #14

reinforcementwonder opened this issue Jun 6, 2023 · 0 comments

Comments

@reinforcementwonder
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant