$ npm install
$ npm run dev
$ npm run build
~$ cd /opt/bitnami
/opt/bitnami$ sudo ./ctlscript.sh stop apache
Add 'Custom - TCP - 3000' on lightsail - networking
~/workspace/virus-homepage$ sudo npm start
~/workspace/virus-homepage$ sudo forever --minUptime 5 --spinSleepTime 5 start ./bin/www ~/workspace/virus-homepage
$ sudo forever list ~/workspace/virus-homepage$ sudo forever stop /root/virus-homepage/bin/www
Upload all files in dist
folder.