Skip to content

moreorover/sensepro-admin

Repository files navigation

Sense Pro

Running Locally

Make sure you have npm or Bun installed.

Start Docker Containers

docker compose up -d

Database Migrations and Seeding

Make sure .env has the DATABASE_URL set.

To seed the database, run the following:

npm run db:dev
# or
bun db:dev

This will create a user to access the UI with the following credentials:

Run the Development Server

Run the development server:

npm run dev
# or
bun dev

Running Production like locally

Make sure you have npm or Bun installed. Also Make

Start Docker Containers

make build-local
make start-local

Database Migrations and Seeding

Make sure .env has the DATABASE_URL set.

To seed the database, run the following:

npm run db:dev
# or
bun db:dev

Stop Docker Containers

make stop-local