Skip to content

Commit

Permalink
Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sheninthjr committed Nov 6, 2023
1 parent f53cf48 commit 2310fad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev": "turbo run dev",
"lint": "turbo run lint",
"start:react": "cd apps/client/dist && serve -p 3001",
"start:express": "cd packages/prisma && sudo docker-compose up -d && yarn prisma migrate dev && yarn prisma generate && pm2 kill && pm2 start node dist/index.js",
"start:express": "cd packages/prisma && sudo docker-compose up -d && yarn prisma migrate dev && yarn prisma generate && pm2 kill && yarn build && pm2 start node dist/index.js",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/prisma/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ export PATH=$PATH:/home/ubuntu/.nvm/versions/node/v20.5.1/bin

cd /home/ubuntu/Automatic-Question-Generator
git pull origin master
yarn build
npm --name "express" -- run "start:express"

0 comments on commit 2310fad

Please sign in to comment.