Prerequisites - green-cani/green_tracker GitHub Wiki

To run this app locally, you will need:

  • Node.js and various packages. The simplest way to go is
  wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash  # install nvm (see note 1)
  nvm install 8.11.1 # get lts version of node 
  npm install dotenv express fs node-telegram-bot-api pg
  npm install knex -g
  • the Heroku CLI: for Ubuntu/Debian users
  wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh

while for Arch users

  npm install -g heroku-cli
  • the local .env file (see envsample)

Notes

  1. nvm