Skip to content

BM-Warehouse/Server

Repository files navigation

How to run in your local machine

Deploy to cloud with Docker image

check linter and unit tests

  1. Clone the repository
  2. Make sure you have Node.js v20.10.0 installed
  3. Make sure you have pnpm installed
  4. Duplicate .env.example file into .env and make changes accordingly
  5. Run pnpm install in project directory to install all the dependencies
  6. Run pnpm prepare:husky
  7. Run pnpm prisma:migrate
  8. Run pnpm start to start the website in your local machine

How to see database

You can run the following command to see the database in your local machine

pnpm prisma studio