cdimascio / generator-express-no-stress

🚂 A Yeoman generator for Express.js based 12-factor apps and apis
MIT License
595 stars 82 forks source link

Application at elasticbeanstalk aws #31

Closed XyDahn closed 5 years ago

XyDahn commented 5 years ago

Hi, Whats up?

Well, Is possible publish application generation for generator-express-no-stress at AWS elasticbeanstalk?

Thanks

XyDahn commented 5 years ago

Create file:

/.ebextensions/nodecommand.config

option_settings: aws:elasticbeanstalk:container:nodejs: NodeCommand: "node dist/index.js"

Create file bash:

deploy-aws.sh

#!/bin/bash npm run compile && zip -r partner-api.zip README.md package.json public server test .ebextensions dist

cdimascio commented 5 years ago

Hi @XyDahn sounds like you'e got a reasonable solution! thanks for the ticket