Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 2.64 KB

README.md

File metadata and controls

52 lines (41 loc) · 2.64 KB

Table of contents

Description

This module was designed to offer an interactive and efficient solution for punch the clock using a cloud-native solution.

(back to top)

Build

As mentioned in main README "this project uses Makefile", therefore, we can build the application using make clean build to build all binaries or you can use the make name=punchclockschedule clean build-lambda zip-lambda to build just this app.

(back to top)

Usage information

To use this application as a cloud native solution in AWS you need make deploy using Serverless Framework, for this, you need firstly see the disclaimer section and after this, follow the deploy section

(back to top)

Deploy

To deploy this app, you'll need:

  1. Install Serverless Framework globally using:
npm install -g serverless
  1. Configure your AWS Credentials. It's recommended that you use some credentials that have Administrator level privilege access, if you don't have something like this actually, you can see the following link about how to do this
  2. Build application using the previous topic "Build"
  3. Make sure you are in the punchclockschedule application directory
  4. Install all plugins used in serverless.yml with serverless plugin install -n plugin-name e.g.:
serverless plugin install -n serverless-dotenv-plugin
serverless plugin install -n serverless-deployment-bucket
  1. Create a .env file following the .env.sample and configure with your data
  2. Use the command sls deploy --verbose
  3. Wait until all resources are created
  4. Enjoy!

(back to top)

Disclaimer

The material embodied in this software is provided to you "as-is", we are exempt from any responsibilities related to AWS (Amazon Web Services) hereinafter determined as a cloud-provider, such as payments, fees and charges. It is the entire responsibility of the application user to deal with which events related to the cloud-provider.

(back to top)