ImpactMarkets / impact-markets-app

Other
2 stars 0 forks source link

Setup

Local dependencies

Install project dependencies

npm install

Prepare the database

cp .env.example .env

Ask @Telofy for the Google client credentials. Put them in the .env in those two lines:

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
docker-compose up -d
npx prisma migrate deploy

Launch the app

npm run dev

FAQ and Common Problems

Try running npx prisma generate. These may be from schema changes someone else made that haven't propagated on your local instance yet. Sometimes you also need to restart the dev server after regenerating the client.

Styles

This project uses Tailwind CSS and [Mantine] (https://mantine.dev/) to handle styles. If at all possible, please use Tailwind for styling components, even Mantine components, so we don’t incur so much complexity from mixing the two systems.

To make changes to default Tailwind CSS values, modify the tailwind.config.js file located at the root of the project.