Using the VPS for development - liskcenterutrecht/lisk.bike GitHub Wiki
To use the VPS for development, you can do the following:
NB: Incomplete for now!
stop background processes
- log in to the VPS
- disable the background processes
pm2 stop all
- Open 4 SSH shells to the VPS
SSH shell #1 -> runs blockchain + nodemon
- nodemon is used to make sure that changes in the smart contracts are also incorperated in the blockchain
SSH shell #2 -> runs meteor app
cd ~/lisk-bike/app
npm start
SSH shell #3 -> runs bikebrainz process
cd ~/bikebrainz
npm run startdev
SSH shell #4 -> runs lisk-explorer (optional)
cd ~/lisk-explorer LISK_HOST=127.0.0.1 LISK_PORT=4000 node app.js
Revision history / Remarks
20191202 - demo LCU
(used V3 image to create new node "apollo.lisk.bike")
- git pull not working because of locally modified files
Add the following to your ssh config to enable auto login lisk user and ratom
Host apollo.lisk.bike hades.lisk.bike
RemoteForward 52698 localhost:52698
ServerAliveInterval 240
user lisk