Web-based controller for a Tapster mobile device automation robot
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
Exit terminal & relaunch to get new settings...
List available versions:
nvm ls-remote
(As of April 2023)
nvm install 18.16.0
git clone https://github.com/tapsterbot/viewport-server.git
cd viewport-server/server
npm install
vim config/env-vars.sh
export NODE_ENV=development
#export NODE_ENV=staging
export SESSION_SECRET=super-secret # CHANGEME
export TVP_ACCESS_ID=tapster # CHANGEME
export TVP_ACCESS_PASSCODE=tapster # CHANGEME
source config/env-vars.sh
npm start