项目作者: tanaka-takurou

项目描述 :
Simple kit for serverless ElastiCache page using AWS Lambda.
高级语言: HTML
项目地址: git://github.com/tanaka-takurou/serverless-elasticache-page-go.git
创建时间: 2020-11-30T14:15:15Z
项目社区:https://github.com/tanaka-takurou/serverless-elasticache-page-go

开源协议:MIT License

下载


serverless-elasticache-page kit

Simple kit for serverless ElastiCache page using AWS Lambda.

Dependence

  • aws-lambda-go
  • gomemcache

Requirements

  • AWS (Lambda, API Gateway, Amazon ElastiCache)
  • aws-sam-cli
  • golang environment

Usage

Edit View

HTML
  • Edit templates/index.html
CSS
  • Edit static/css/main.css
Javascript
  • Edit static/js/main.js
Image
  • Add image file into static/img/
  • Edit templates/header.html like as ‘favicon.ico’.

Deploy

  1. make clean build
  2. AWS_PROFILE={profile} AWS_DEFAULT_REGION={region} make bucket={bucket} stack={stack name} deploy