Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 472 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 472 Bytes

Project Setup Instructions

Check if postgresql is running

systemctl status postgresql

Setup postgres for prisma

sudo -iu postgres
psql
CREATE ROLE sci LOGIN;
\du
CREATE DATABASE sci WITH OWNER = sci;
GRANT ALL PRIVILEGES ON DATABASE sci TO sci;
ALTER ROLE sci WITH SUPERUSER CREATEDB;

After changing your .env file, type the following commands in your terminal

npx prisma generate
npx prisma db push
npx prisma studio