8000 GitHub - rejeses/rejeses
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rejeses/rejeses

Repository files navigation

REJESES CONSULTING

Learn and become excellent at project management.

Getting started with the development server

RUN:

- git clone https://github.com/therealghostdev/rejeses.git

#Go into project directory after cloning as seen in root folder.
#Example: cd rejeses (Assumining this is how the file was named in cloning directory)

- npm or yarn install

- npm run dev / yarn dev #(To start development server)

FOR BACKEND DEV ENVIRONMENT SETUP:

  • Create a .env file in project root directory and add the following keys:

PAYSTACK_SECRET=samplesecret (request test key from project owner or create get yours from paystack) DATABASE_URL=postgresql://rejeses:1234@localhost:5432/rejeses?schema=public

Ensure development server is down if running and you have docker installed

THEN RUN:

- docker-compose up -d

- npx prisma migrate dev --name sample_name #(name should match latest prisma migration as seen in prisma migrations folder in project directory)

- npx prisma db seed #(if this command runs successfully without errors, start the development server again as described earlier)  

If you experience any issue setting up any of the dev environments, please contact the project maintainer/owner

GRACIAS🪄

0