Skip to content

aaddaamm/dotcom

Repository files navigation

dotcom

npm install

setup env

cp .env.example .env

setup db string

DB is postgres

DATABASE_URL="postgresql://<username>:<password>@localhost:5432/dotcom?schema=public"

run migrations

npx prisma migrate dev

npm run dev

runs the dev server and opens the browser to the app.

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.