Skip to content

Instantly share code, notes, and snippets.

@mauriziocarioli
Created February 5, 2020 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauriziocarioli/62675d8759c4126f8e1a586a9d567bea to your computer and use it in GitHub Desktop.
Save mauriziocarioli/62675d8759c4126f8e1a586a9d567bea to your computer and use it in GitHub Desktop.
4> git clone https://github.com/mauriziocarioli/PHM-API.git
Cloning into 'PHM-API'...
remote: Enumerating objects: 17, done.
remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 17 (delta 6), reused 15 (delta 4), pack-reused 0
Unpacking objects: 100% (17/17), done.
[ec2-user@ip-172-31-33-184.ec2.internal/~/Demos]
5> cd PHM-API
[ec2-user@ip-172-31-33-184.ec2.internal/~/Demos/PHM-API]
6> ls -al
total 44
drwxrwxr-x. 3 ec2-user ec2-user 127 Feb 5 15:23 .
drwxrwxr-x. 10 ec2-user ec2-user 236 Feb 5 15:23 ..
-rw-rw-r--. 1 ec2-user ec2-user 3636 Feb 5 15:23 app.js
drwxrwxr-x. 8 ec2-user ec2-user 163 Feb 5 15:23 .git
-rw-rw-r--. 1 ec2-user ec2-user 256 Feb 5 15:23 .gitignore
-rw-rw-r--. 1 ec2-user ec2-user 11357 Feb 5 15:23 LICENSE
-rw-rw-r--. 1 ec2-user ec2-user 360 Feb 5 15:23 package.json
-rw-rw-r--. 1 ec2-user ec2-user 14282 Feb 5 15:23 package-lock.json
-rw-rw-r--. 1 ec2-user ec2-user 595 Feb 5 15:23 README.md
[ec2-user@ip-172-31-33-184.ec2.internal/~/Demos/PHM-API]
7> npm install
npm WARN phmapi@1.0.0 No repository field.
added 50 packages from 37 contributors and audited 158 packages in 0.781s
found 0 vulnerabilities
[ec2-user@ip-172-31-33-184.ec2.internal/~/Demos/PHM-API]
8> npm start
> phmapi@1.0.0 start /home/ec2-user/Demos/PHM-API
> node app.js
running at port 3200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment