File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- web : cd ./dist && yarn start:server
2- worker : cd ./dist && yarn start:worker
1+ web : npm run start:server
2+ worker : npm run start:worker
Original file line number Diff line number Diff line change 3535 "addons" : [
3636 {
3737 "plan" : " heroku-postgresql:hobby-dev" ,
38- "options" : {
39- "version" : " 9.5"
40- },
4138 "as" : " POSTGRES"
4239 },
4340 {
4441 "plan" : " heroku-redis:hobby-dev" ,
45- "options" : {
46- "version" : " 3.2"
47- },
4842 "as" : " REDIS"
4943 },
5044 {
Original file line number Diff line number Diff line change 5858 "graphql" : " ^15.3.0" ,
5959 "jsonwebtoken" : " ^8.5.1" ,
6060 "nodemailer" : " ^6.3.1" ,
61- "pg" : " ^7.17 .1" ,
61+ "pg" : " ^8.4 .1" ,
6262 "reflect-metadata" : " ^0.1.13" ,
6363 "ts-node" : " ^9.0.0" ,
6464 "type-graphql" : " ^1.1.0" ,
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ const { REDIS_URL } = defaults;
66
77const redisOptions = {
88 host : REDIS_URL ,
9- port : 6379 ,
109} ;
1110
1211const getQueueData = ( job : any ) => {
Original file line number Diff line number Diff line change 1+ import { config } from 'dotenv' ;
2+
13import { defaults , logger } from './utils/globalMethods' ;
24import Queue from './utils/Queue' ;
35import { createTypeormConn } from './utils/typeORMConn' ;
46
57( async ( ) : Promise < void > => {
8+ config ( ) ;
69 const { APP_NAME } = defaults ;
710 await createTypeormConn ( ) ;
811
You can’t perform that action at this time.
0 commit comments