Skip to content

Instantly share code, notes, and snippets.

@PabTorre
Created November 11, 2017 00:05
Show Gist options
  • Save PabTorre/b62e3da13ef5225dd02aace586852640 to your computer and use it in GitHub Desktop.
Save PabTorre/b62e3da13ef5225dd02aace586852640 to your computer and use it in GitHub Desktop.
script to install aws-ai-qna-bot
# to setup on a fresh ec2 amazon linux box
sudo yum install git
sudo yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_6.x | sudo -E bash -
sudo yum install nodejs
git clone https://github.com/awslabs/aws-ai-qna-bot.git
cd aws-ai-qna-bot/
# setup aws credentials
npm install
npm run stack dev/bootstrap up
# wait until last step completes on cloudformation
# not sure how to automate the wait.
npm run upload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment