bvplan/backend/run.sh

8 lines
178 B
Bash
Raw Normal View History

2023-01-17 05:54:45 +00:00
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
2022-12-12 16:54:07 +00:00
DATABASE_URL="$BACKEND_DB_URL" diesel setup \
--migration-dir ./migrations \
--locked-schema &&
RUST_BACKTRACE=full "./bin/$1"