Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 957 Bytes

README.md

File metadata and controls

55 lines (36 loc) · 957 Bytes

Momentum

https://www.findmomentum.xyz

Small wins. Big progress.

Installation

  1. Clone the repository

  2. Install asdf and plugins

asdf plugin add nodejs
asdf plugin add yarn
asdf plugin add postgres
  1. Run asdf install
asdf install
  1. Set up the environment variables:
  • Copy the .env.example file to .env:
cp .env.example .env
  • Open the .env file and fill in the necessary environment variables, including your PostgreSQL database URL
  1. Set up Prisma and the database:
  • Generate Prisma client:
yarn prisma generate
  • Run migrations and seed initial data:
yarn prisma migrate dev

These commands will set up your database schema, apply all existing migrations, and populate the database with seed data.

  1. Install dependencies and start the development server
yarn
yarn dev