Live Web Week01+02

1.Create a digital ocean droplet to server file

2.Install Node.js to setup server environment
-login with ssh root@ip_address in terminal
-run following command in the terminal
apt-get update
apt-get install nodejs
apt-get install nodejs-legacy
apt-get install npm

3.Drop website file onto the digital ocean droplet with Fetch
remember to connect through SFTP

4.Run node server.js to server website in the terminal

**we can ‘forever’ to serve the website standalone