React: Production Server Setup Part 2 - Live Coding with Jesse
FBTwitterReddit
video description
Rating: 4.0; Vote: 1
Watch me set up a DigitalOcean droplet that will run run Ubuntu, Node, Express, React via Next.js and Nginx as a reverse proxy. I will also eventually secure the server using LetsEncrypt.
UPDATE: Toward the end of the video, I run the command: sudo pm2 startup systemd. This was a mistake. Run it without the sudo and follow the instructions given in the output. If you did follow my video instructions, just use: sudo pm2 unstartup systemd. This will undo everything and you can type the command correctly.
Digital Ocean Guides:
Ubuntu 16.04: https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
Nginx: https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-16-04
NodeJS: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
Repo: https://github.com/fus-marcom/ci-react
React: https://facebook.github.io/react/
Next.js: https://github.com/zeit/next.js/
Materialize: http://materializecss.com/ Date: 2022-03-14