Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hub9/aws-deployatron
AWS static files deploy helper
https://github.com/hub9/aws-deployatron
Last synced: 29 days ago
JSON representation
AWS static files deploy helper
- Host: GitHub
- URL: https://github.com/hub9/aws-deployatron
- Owner: hub9
- License: mit
- Created: 2017-04-10T16:35:26.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T13:09:50.000Z (almost 7 years ago)
- Last Synced: 2024-10-02T09:15:17.712Z (4 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 AWS Deployatron
## Requirements
* Node 8.9+
## Installation
```bash
$ npm install @hub9/aws-deployatron
```## Usage
1) Setup the following env vars:
| Environment variables | Description |
|:------------------------|:-------------------------|
| `PUBLIC_URL` | Public url for deployed files. Target directory is extracted for this. |
| `AWS_REGION` | AWS Region to connect to |
| `AWS_ACCESS_KEY_ID` | AWS Key ID |
| `AWS_SECRET_ACCESS_KEY` | AWS Access Key |
| `AWS_S3_BUCKET` | S3 Bucket name |
| `AWS_CLOUDFRONT_ID` | Cloudfront distribution ID associated with this bucket |2) Call the binary:
```bash
$ aws-deployatron --inputDir
```### Todo
* [ ] Improve options
* [ ] Improve CLI usage
* [ ] Improve modularization