diff --git a/.elasticbeanstalk/config.yml b/.elasticbeanstalk/config.yml new file mode 100644 index 0000000..085f029 --- /dev/null +++ b/.elasticbeanstalk/config.yml @@ -0,0 +1,22 @@ +branch-defaults: + master: + environment: os-weather +environment-defaults: + os-weather: + branch: null + repository: null +global: + application_name: Weather + default_ec2_keyname: null + default_platform: arn:aws:elasticbeanstalk:us-west-2::platform/Node.js running on + 64bit Amazon Linux/4.8.1 + default_region: us-west-2 + include_git_submodules: true + instance_profile: null + platform_name: null + platform_version: null + profile: eb-cli + sc: git + workspace_type: Application +deploy: + artifact: weather.zip \ No newline at end of file diff --git a/.gitignore b/.gitignore index 00170b7..e2ee38d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,8 +6,3 @@ npm-debug.log .vscode .idea js - -# Elastic Beanstalk Files -.elasticbeanstalk/* -!.elasticbeanstalk/*.cfg.yml -!.elasticbeanstalk/*.global.yml diff --git a/package.json b/package.json index 687ccb6..6e1d7ae 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "test": "mocha --exit test", "start": "npm run compile && node js/server", "dev": "node scripts/serve", + "bundle": "zip weather.zip -r js package.json package-lock.json", "compile": "tsc" }, "dependencies": {