TDamiao

VMGoogleCloud-BotOkCoin

Jul 13th, 2017
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Criar uma VM Ubunto
  2. //Atualiza o Basico:
  3. sudo apt-get upgrade
  4. sudo apt-get update
  5. sudo apt-get install
  6. sudo apt-get install build-essential autotools-dev autoconf libcurl3 libcurl4-gnutls-dev
  7.  
  8. //Estala o Node
  9. curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
  10. sudo apt-get install -y nodejs
  11. sudo apt-get install -y npm
  12.  
  13. //Estala o Git
  14. sudo apt-get install git
  15.  
  16. //Clona Bot Na Maquina
  17. git clone https://github.com/ipsBruno/OKCoin-Trade-Bot
  18.  
  19. //Baixando e Estalando pacotes
  20. npm install okcoin
  21. npm install dateformat
  22.  
  23. //Mantendo o Bot On sem deixar o shell aberto
  24. screen node server.js
Add Comment
Please, Sign In to add comment