This module was designed to offer an interactive and efficient solution for punch the clock using a cloud-native solution.
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.
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
To deploy this app, you'll need:
- Install Serverless Framework globally using:
npm install -g serverless
- 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
- Build application using the previous topic "Build"
- Make sure you are in the punchclockschedule application directory
- Install all plugins used in
serverless.yml
withserverless plugin install -n plugin-name
e.g.:
serverless plugin install -n serverless-dotenv-plugin
serverless plugin install -n serverless-deployment-bucket
- Create a
.env
file following the .env.sample and configure with your data - Use the command
sls deploy --verbose
- Wait until all resources are created
- Enjoy!
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.