From 0413db7d8165903caa865219ebd17ca194c5441d Mon Sep 17 00:00:00 2001 From: Maria Dmytrenko <79389256+marythedev@users.noreply.github.com> Date: Wed, 11 Oct 2023 20:41:02 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index abcc708..1959fcd 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ Copy source code from local machine to EC2 `ec2-54-165-10-190.compute-1.amazonaws.com` example of remote computer address (check Public IPv4 DNS) `-P 22` if some [errors](https://stackoverflow.com/questions/62817854/ssh-init-network-error-cannot-assign-requested-address) still arise add this flag to force it connect on port 22 +3. Run `tar -xvzf fragments-0.0.1.tgz` on the remote machine +4. Run `cd package` on the remote machine Start & Stop EC2 instances from AWS command line: - Start with `aws ec2 start-instances --instance-ids {instance-id}` From 68a9bf8a5069d1be6c3d23646f517e02fbf5184e Mon Sep 17 00:00:00 2001 From: Maria Dmytrenko <79389256+marythedev@users.noreply.github.com> Date: Wed, 11 Oct 2023 21:57:06 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1959fcd..31690ab 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ CentOS - Update system's packages with `sudo yum update` - Install package (git as the example) `sudo yum install git -y` - Check package version (git as the example) `git --version` -- Switch between node versions `nvm use --lts` or `nvm use 16`(version 16 is installed) +- Switch between node versions `nvm use --lts` or `nvm use 16`(version 16 is installed) or `nvm use 14`(version 14 is installed) Connect with PuTTY 1. Session -> Host Name set to `Public IPv4 address` (something like 54.165.10.190), check port to be `22` @@ -90,6 +90,7 @@ Copy source code from local machine to EC2 `-P 22` if some [errors](https://stackoverflow.com/questions/62817854/ssh-init-network-error-cannot-assign-requested-address) still arise add this flag to force it connect on port 22 3. Run `tar -xvzf fragments-0.0.1.tgz` on the remote machine 4. Run `cd package` on the remote machine +5. Run `nvm use 14` prior to npm installing for fragments-ui, otherwise it gets frozen. Start & Stop EC2 instances from AWS command line: - Start with `aws ec2 start-instances --instance-ids {instance-id}`