mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 07:43:16 +10:00
19 lines
333 B
Bash
Executable File
19 lines
333 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Start the database and mailserver
|
|
docker compose -f ./docker/compose-without-app.yml up -d
|
|
|
|
# Install dependencies
|
|
npm install
|
|
|
|
# Copy the env file
|
|
cp .env.example .env
|
|
|
|
# Source the env file, export the variables
|
|
set -a
|
|
source .env
|
|
set +a
|
|
|
|
# Run the migrations
|
|
npm run -w @documenso/prisma prisma:migrate-dev
|