-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
167ca34
commit f09cb09
Showing
5 changed files
with
42 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export PATH=$PATH:/home/ubuntu/.nvm/versions/node/v20.5.1/bin | ||
|
||
cd /home/ubuntu/Automatic-Question-Generator | ||
git pull origin master | ||
yarn build | ||
pm2 stop react | ||
pm2 start npm --name "react" -- run "start:react" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
{ | ||
"private": true, | ||
"scripts": { | ||
"build": "turbo run build", | ||
"dev": "turbo run dev", | ||
"lint": "turbo run lint", | ||
"start:express": "cd packages/prisma && yarn prisma migrate dev && yarn yarn prisma generate && sudo docker-compose up -d && node dist/index.js", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.48.0", | ||
"prettier": "^3.0.3", | ||
"tsconfig": "*", | ||
"turbo": "latest" | ||
}, | ||
"name": "QG", | ||
"packageManager": "yarn@1.22.19", | ||
"workspaces": [ | ||
"apps/*", | ||
"packages/*" | ||
], | ||
"dependencies": { | ||
"@types/cors": "^2.8.15", | ||
"@types/express": "^4.17.20", | ||
"cors": "^2.8.5", | ||
"express": "^4.18.2" | ||
} | ||
} | ||
"private": true, | ||
"scripts": { | ||
"build": "turbo run build", | ||
"dev": "turbo run dev", | ||
"lint": "turbo run lint", | ||
"start:react": "cd apps/client-react/dist && serve -p 3001", | ||
"start:express": "cd packages/prisma && sudo docker-compose up -d && yarn prisma migrate dev && yarn prisma generate && node dist/index.js", | ||
"format": "prettier --write \"**/*.{ts,tsx,md}\"" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.48.0", | ||
"prettier": "^3.0.3", | ||
"tsconfig": "*", | ||
"turbo": "latest" | ||
}, | ||
"name": "QG", | ||
"packageManager": "yarn@1.22.19", | ||
"workspaces": [ | ||
"apps/*", | ||
"packages/*" | ||
], | ||
"dependencies": { | ||
"@types/cors": "^2.8.15", | ||
"@types/express": "^4.17.20", | ||
"cors": "^2.8.5", | ||
"express": "^4.18.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters