Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (24 loc) · 973 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 973 Bytes

Kabisa Serverless Tickets

Feel free to create an issue if you have any questions or troubles. I won't check them every day but I'll try to check them weekly.

Setup:

in infrastructure/

  • aws-vault exec kabisa-bart-playground
  • (cd tables/examples/ && aws dynamodb batch-write-item --request-items file://Availability.json)

Development:

  • yarn
  • (cd infrastructure; sls dynamodb install)
  • yarn run dev or yarn run dev_online

Killing serverless-offline in case of it still running:

lsof -i :8000 -sTCP:LISTEN |awk 'NR > 1 {print $2}' | xargs kill -15

Deploy:

cd dist/

yarn run build

aws-vault exec kabisa-playground

aws s3 sync . s3://kabisa-tickets-dev-hosting --include "*" --exclude "*.js" --exclude "*.css"
aws s3 sync . s3://kabisa-tickets-dev-hosting --delete --exclude "*" --include "*.js" --include "*.css" --content-encoding=gzip


License

Kabisa Serverless Tickets is released under the MIT License.