Created
November 11, 2017 00:05
-
-
Save PabTorre/b62e3da13ef5225dd02aace586852640 to your computer and use it in GitHub Desktop.
script to install aws-ai-qna-bot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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