From 0c15eb92bb0b3ff90af8dae3b39125b91eefcb0b Mon Sep 17 00:00:00 2001 From: Michael Stewart Date: Sun, 17 Mar 2024 11:17:19 -0400 Subject: [PATCH] add warnign for deploy --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d04227..de0d4fe 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ * cd /home/ec2-user/fe-dev-versions * rm live * ln -s /home/ec2-user/fe-dev-versions/ 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`