Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 732 Bytes

Deployment-Guide.md

File metadata and controls

18 lines (15 loc) · 732 Bytes

Deployment Guide

Database

  • How to setup Database

  • In your local environment, set DATABASE_URL to your production database then run:

npx prisma migrate deploy

.Env File

  • Don't need to create SHADOW_DATABASE_URL env variable for production
DATABASE_URL=sqlserver://{server name}:1433;database={database};initialCatalog=ArtSphereInc;integratedSecurity=false;user={user};password={password};encrypt=true
  • server name is in the format servername.database.windows.net

Server