1.0.0 • Published 4 years ago

enjoy-sls-tap v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

enjoy-sls-tap

Enjoy tap is a serverless stack that represents the services for tap.

Requirements

  • Configure your aws credentials at ~/.aws/credentials note: Attention to set your personal developer aws account to dev-aws profile in this configuration file
  • Create your Route53 subdomain record in the main AWS Account;
  • Install NodeJS v10 or later;
  • Install Serverless framework; https://serverless.com/

Getting Started

Set enviroments

Set this enviroments to run this stack in your AWS account correctly:

export AWS_ACCOUNT=account_number_here
export SERVERLESS_SUBDOMAIN=domain_here

Install via npm

npm i

Create S3 Deployment Bucket

  1. Access your AWS account and s3 section;
  2. Create a new Bucket with this pattern: * servicename-AWS_ACCOUNT-stage-region-deploys. Example: enjoy-sls-tap-214468698722-dev-us-east-1-deploys note: create your Bucket in us-east-1 region

Deploy dev account

npm run deploy:dev

Frameworks, plugins and libs reference