Skip to content

Commit

Permalink
update prod procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
michavie committed Jan 9, 2024
1 parent 9dda373 commit f9e3f0a
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 74 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: npm run start
web: npm run start:api:prod
152 changes: 87 additions & 65 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,24 @@
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"build:all": "nest build api && nest build transactions-processor && nest build cache-warmer && nest build queue-worker && nest build common",
"build": "nest build api && nest build transactions-processor && nest build cache-warmer && nest build queue-worker && nest build common",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest build api & nest start",
"start:watch": "nest build api & nest start --watch",
"start:debug": "nest build api & nest start --watch --debug",
"build:api": "nest build api",
"build:transactions-processor": "nest build transactions-processor",
"build:queue-worker": "nest build queue-worker",
"build:cache-warmer": "nest build cache-warmer",
"start:api": "nest build api & nest start",
"start:api:watch": "nest build api & nest start --watch",
"start:api:prod": "node dist/apps/api/src/main",
"start:transactions-processor": "nest build transactions-processor & nest start transactions-processor",
"start:transactions-processor:watch": "nest build transactions-processor & nest start transactions-processor --watch",
"start:transactions-processor:debug": "nest build transactions-processor & nest start transactions-processor --watch --debug",
"start:transactions-processor:prod": "node dist/apps/transactions-processor/src/main",
"start:queue-worker": "nest build queue-worker & nest start queue-worker",
"start:queue-worker:watch": "nest build queue-worker & nest start queue-worker --watch",
"start:queue-worker:debug": "nest build queue-worker & nest start queue-worker --watch --debug",
"start:queue-worker:prod": "node dist/apps/queue-worker/src/main",
"start:cache-warmer": "nest build cache-warmer & nest start cache-warmer",
"start:cache-warmer:watch": "nest build cache-warmer & nest start cache-warmer --watch",
"start:cache-warmer:debug": "nest build cache-warmer & nest start cache-warmer --watch --debug",
"start:cache-warmer:prod": "node dist/apps/cache-warmer/src/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\"",
"lint:fix": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
Expand Down

0 comments on commit f9e3f0a

Please sign in to comment.