Skip to content

Commit

Permalink
2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
otrack committed Dec 8, 2021
1 parent bfb183e commit 50f0338
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ A white paper describing `sshell` is available [online](https://drive.google.com

## Installation

wget https://github.com/crucial-project/serverless-shell/releases/download/2.1/serverless-shell-2.1-linux-bin.tar.gz
tar zxvf serverless-shell-2.1-linux-bin.tar.gz
wget https://github.com/crucial-project/serverless-shell/releases/download/2.2/serverless-shell-2.2-linux-bin.tar.gz
tar zxvf serverless-shell-2.2-linux-bin.tar.gz
export ACCOUNT=%AWS_ACCOUNT_ID%
export ROLE_NAME=%AWS_IAM_ROLE_NAME% # the role must have access to AWS Lambda
cat serverless-shell-2.0/config.properties.tmpl | sed s,ACCOUNT,${ACCOUNT},g | sed s,ROLE_NAME,${ROLE_NAME},g > config.properties
export CONFIG_DIR=.; sed -i s,FUNCTION_ARN,$(./serverless-shell-2.0/deploy.sh -create | grep FunctionArn | awk '{print $2}' | sed s,[\"\,],,g),g config.properties
source ./serverless-shell-2.0/utils.sh
cat serverless-shell-2.2/config.properties.tmpl | sed s,ACCOUNT,${ACCOUNT},g | sed s,ROLE_NAME,${ROLE_NAME},g > config.properties
export CONFIG_DIR=.; sed -i s,FUNCTION_ARN,$(./serverless-shell-2.2/deploy.sh -create | grep FunctionArn | awk '{print $2}' | sed s,[\"\,],,g),g config.properties
source ./serverless-shell-2.2/utils.sh
sshell ls # check that everything works

## Demo
Expand Down

0 comments on commit 50f0338

Please sign in to comment.