Skip to content

Commit

Permalink
fix startup script
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelstroschein committed Jan 2, 2025
1 parent 8cc828c commit 69c126e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion inlang/packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"private": true,
"scripts": {
"dev": "node --loader tsx ./src/main.ts",
"production": "NODE_ENV=production tsx ./src/main.ts",
"production": "pnpm run production:website & pnpm run production:self",
"production:website": "pnpm run --filter @inlang/website production",
"production:self": "NODE_ENV=production tsx ./src/main.ts",
"test": "tsc --noEmit",
"format": "prettier ./src --write",
"clean": "rm -rf ./dist ./node_modules"
Expand Down
4 changes: 2 additions & 2 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ services:
region: frankfurt
plan: standard
branch: main
buildCommand: pnpm install && pnpm run --filter @inlang/website... build
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm production # configured in root package.json
buildCommand: pnpm install && pnpm run --filter @inlang/server... build
startCommand: NX_REJECT_UNKNOWN_LOCAL_CACHE=0 pnpm --filter @inlang/server production
autoDeploy: true
envVars:
- key: PORT
Expand Down

0 comments on commit 69c126e

Please sign in to comment.