Skip to content
/ SCI Public

Website da SCI - Semana da Ciência e Inovação

Notifications You must be signed in to change notification settings

NECC/SCI

Repository files navigation

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

About

Website da SCI - Semana da Ciência e Inovação

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published