add README

This commit is contained in:
EC2 Default User 2023-12-01 06:49:12 +00:00 • committed by nsxshota
commit 4cd4a64826

View file

@ -6,18 +6,14 @@ This tutorial assumes you have an AWS account and basic knowledge of AWS.
# How to set up your environment and deploy langflow # How to set up your environment and deploy langflow
1. Open [CloudShell](https://us-east-1.console.aws.amazon.com/cloudshell/home?region=us-east-1). 1. Open [CloudShell](https://us-east-1.console.aws.amazon.com/cloudshell/home?region=us-east-1).
1. Run the following commands in Cloudshell: 1. Run the following commands in Cloudshell:
```shell ```shell
git clone https://github.com/aws-samples/cloud9-setup-for-prototyping git clone https://github.com/aws-samples/cloud9-setup-for-prototyping
cd cloud9-setup-for-prototyping cd cloud9-setup-for-prototyping
./bin/bootstrap ./bin/bootstrap
``` ```
1. When you see `Done!`, open `cloud9-for-prototyping` from [Cloud9](https://us-east-1.console.aws.amazon.com/cloud9control/home?region=us-east-1#/). 1. When you see `Done!`, open `cloud9-for-prototyping` from [Cloud9](https://us-east-1.console.aws.amazon.com/cloud9control/home?region=us-east-1#/).
![make-cloud9](./img/langflow-cloud9-en.png) ![make-cloud9](./img/langflow-cloud9-en.png)
1. Run the following command in the Cloud9 terminal. 1. Run the following command in the Cloud9 terminal.
```shell ```shell
git clone -b aws-cdk-dev2 https://github.com/kazuki306/langflow git clone -b aws-cdk-dev2 https://github.com/kazuki306/langflow
@ -39,6 +35,5 @@ LangflowAppStack.NetworkURLXXXXXX = http://alb-XXXXXXXXXXX.elb.amazonaws.com
cdk destroy cdk destroy
bash delete-ecr.sh bash delete-ecr.sh
``` ```
1. Open [CloudFormation](https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/getting-started), select `aws-cloud9-cloud9-for-prototyping-XXXX` and delete it. 1. Open [CloudFormation](https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/getting-started), select `aws-cloud9-cloud9-for-prototyping-XXXX` and delete it.
![delete-cfn](./img/langflow-cfn.png) ![delete-cfn](./img/langflow-cfn.png)