Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
add warnign for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
hcientist committed Mar 17, 2024
1 parent 47764e4 commit 0c15eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* cd /home/ec2-user/fe-dev-versions
* rm live
* ln -s /home/ec2-user/fe-dev-versions/<v0.2.2> live
1. cd /home/ec2-user/fe-dev-versions/live
1. cd /home/ec2-user/fe-dev-versions/live #WARNING: you must have cd'ed into the current version first because the start script is just running `next start` which expects to find package.json and etc in the current dir.
1. `pm2 start npm --name "fe-dev" -- start`
`pm2 start npm --name "fe-prod" -- start``
1. `pm2 save`
Expand Down

0 comments on commit 0c15eb9

Please sign in to comment.