diff --git a/README.md b/README.md index 95ed46fe9..e9967a606 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,8 @@ DATABASE_URL=postgresql://sendou@localhost:5432 _You can see [Prisma's guide on how to set up a PostgreSQL database running locally](https://www.prisma.io/dataguide/postgresql/setting-up-a-local-postgresql-database) for more info._ -6. Once you have a database running run `pg_restore -d 'postgresql://sendou@localhost:5432' --jobs 4 dump.sql --clean` (replace the connection string with your own) in the `prisma` folder (assuming your database name is `postgres`). This formats the database with the correct tables and fills it with real data dumped from the production site. +6. Use `npm run migrate` to get the database formatted with the right tables. +7. There should be a seeding script but this doesn't exist yet. If anyone is interested in contributing this is probably a good starting point (see issue #197). ### Enable logging in diff --git a/prisma/dump.sql b/prisma/dump.sql deleted file mode 100644 index 3f5f9c617..000000000 Binary files a/prisma/dump.sql and /dev/null differ