Skip to content

Instantly share code, notes, and snippets.

@joaovitor3
Created September 26, 2019 17:45
Show Gist options
  • Save joaovitor3/ba724c71b22042982e7382f9cbc3e8f0 to your computer and use it in GitHub Desktop.
Save joaovitor3/ba724c71b22042982e7382f9cbc3e8f0 to your computer and use it in GitHub Desktop.
DevOps Enap
#!/bin/sh
cd $HOME/BotFlowAPI
sudo docker-compose up -d
sleep 15
cd $HOME
rm -f zip
wget http://localhost:8081/api/v1/files/1/zip
rm -rf $HOME/rasa-ptbr-boilerplate/coach/data/
echo "y" | unzip zip -d rasa-ptbr-boilerplate/coach/
rm -f zip
cd $HOME/rasa-ptbr-boilerplate/
sudo make train
sudo docker-compose up -d rocketchat
sleep 40
sudo docker-compose up -d bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment