Socket
Book a DemoInstallSign in
Socket

ngx-ec2-deploy

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-ec2-deploy

Deploy Nestjs app to Amazon EC2 directly from the Angular CLI

2.1.901
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

NGX-EC2-DEPLOY

☁️🚀 Deploy your Nodejs app to Amazon EC2 directly from the Angular CLI 🚀☁️

Quick Start

  • Install the latest version of Angular cli

 yarn global add @angular/cli

  • Create a new Angular project

ng new hello-world --defaults

cd hello-world

  • Add ngx-ec2-deploy to your project

 yarn add ngx-ec2-deploy

  • After these step your angular.json is update with a new builder:
  "deploy": {
    "builder": "ngx-ec2-deploy:deploy",
    "options": {
      "production": {
        "host": "ec2-3-6-122-80.ap-south-1.compute.amazonaws.com",
        "username": "ec2-user",
        "remotePath": "scripts",
        "privateKey": "ssh/voopik-mumbai.pem",
        "postDeploy": "sudo pm2 restart all"
      }
    }
  }
  • Run ng deploy to deploy your application to Amazon EC2.

🚀Happy deploying! 🚀

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

The builder is located in the builder folder.

Please make sure to update tests as appropriate.

License

MIT

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Akash Gupta

💻 🖋 👀

This project follows the all-contributors specification. Contributions of any kind welcome!

Keywords

angular

FAQs

Package last updated on 21 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.