Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Installing nodejs"
- sudo apt-get update && sudo apt-get install nodejs -y
- echo "Installing npm"
- sudo apt-get install npm -y
- echo "Auto configure...."
- sudo apt-get update && sudo apt-get install build-essential libssl-dev -y
- wget https://raw.githubusercontent.com/creationix/nvm/master/install.sh && bash install.sh
- source ~/.profile
- nvm ls-remote
- nvm install 8.9.1
- nvm use 8.9.1
- echo "DONE..."
- echo "Installing bot..."
- sudo apt-get install build-essential git -y
- git clone https://github.com/botgram/shell-bot.git
- cd shell-bot
- npm install
- node server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement