AWS EC2 server - Groovy-Narwhal/GitAchieve GitHub Wiki
GitAchieve's deployed server is hosted on EC2. To ssh into it, follow these steps.
- Ask one of the team members for the GitAchieve
.pemfile. This file is used as a key to authenticate the ssh. cdinto the directory with the.pemfile.- Use this command in the terminal:
ssh -i GitAchieve-1.pem [email protected]
- This runs the ssh command with the -i flag, telling the ssh to use the
GitAchieve-1.pemfile for authentication - It also logs you in as a user named 'ubuntu' in the server at
52.39.169.181 - If you experience a warning about an unprotected file key, use this command
chmod 400 GitAchieve-1.pem
- You are now ssh'ed into the server. Type
lsto see thegitAchieve/folder.cdinto that - Type
npm run serve, and it should run your server which can be accessed at www.gitachieve.com