mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-19 08:28:10 +02:00
chore: run npm install in ts_validator in start scripts
This commit is contained in:
parent
330b81d908
commit
1fa52df2de
2 changed files with 19 additions and 1 deletions
|
|
@ -108,7 +108,16 @@ NGINX_UPSTREAM_TEMPLATE="$BASE_DIR/nginx/dograh_upstream.conf.template"
|
|||
NGINX_UPSTREAM_CONF="/etc/nginx/conf.d/dograh_upstream.conf"
|
||||
|
||||
###############################################################################
|
||||
### 4) Run migrations
|
||||
### 4) Install ts_validator npm dependencies
|
||||
###############################################################################
|
||||
|
||||
TS_VALIDATOR_DIR="$BASE_DIR/api/mcp_server/ts_validator"
|
||||
if [[ -f "$TS_VALIDATOR_DIR/package.json" ]]; then
|
||||
(cd "$TS_VALIDATOR_DIR" && npm install)
|
||||
fi
|
||||
|
||||
###############################################################################
|
||||
### 5) Run migrations
|
||||
###############################################################################
|
||||
|
||||
alembic -c "$BASE_DIR/api/alembic.ini" upgrade head
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue