Captcha
: repository contains a software stack that allows solve captchas using AWS Textract.
This steps are tailored to work with Visual Studio Code, but you are free to chose a different IDE and make necesary adjustments to the setup.
- Install
ms-vscode-remote.remote-containers
extension. If you don't know how to do that follow this steps: https://code.visualstudio.com/docs/editor/extension-gallery#_install-an-extension - Open this project's folder in Visual Studio Code. The extension will detect a container configuration and will ask you if you want to reopen the project un the container. Accept.
In .envs
folder you'll need to create env files with the variables here.
You can deploy Cloud Formation Stacks
using Serverless Framework
syntax: https://www.serverless.com/framework/docs/providers/aws/cli-reference/deploy/
Deployment order:
- Deploy
serverless/infrastructure
stack - Deploy
serverless/backend
stack
You must use Serverless Framework
remove command as primary option: https://www.serverless.com/framework/docs/providers/aws/cli-reference/remove/
If remove
command fails for whatever reason, you'll need to investigate the reason using AWS Console
at your browser, solve the issue and then re-attempt the remove
command.
You can, alternatively, delete the AWS Cloud Formation
stack manually using AWS Console
at your browser. But it's recommended to do it using the remove
command from Serverless Framework.
Stacks are independent, but still, recommended remove order is inverse to deployment order.
- Use known standards where situation allows it.
- Use known solutions for known problems.
- Investigate known and proven solutions before manufacturing your own.
- Check if our cloud provider offers a service you could use to solve the problem: evaluate ease of use, costs, maturity and reviews.
- If you need to use a library make sure it's mature, has continous releases, it's stable.
- If a solution starts to get too messy, it's probably not the right solution.
DEVELOPER
: username
AWS_ORGANIZATION_ID
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
AWS_DEFAULT_OUTPUT
SERVERLESS_ACCESS_KEY
:Serverless Framework
access key
stage
: Means the deployment stage. Values can bedev
,test
orprod
- Other deployment options can be set through CLI command. More info here