- install Node.js, Redis and PostgreSQL
- start the Redis server
- start PostgreSQL, create a database and run structure.sql: https://github.com/ferg1e/comment-castles/blob/master/sql/st...
- get all the source code for the actual app (ie. the code from the comment castles repo)
- figure out all your environment variables (the ones I list in the README)
- now you can run the node app (you probably want to use pm2 if on Linux)
- then connect that running node app to the public internet (I use something random for the HTTP_PORT environment variable, like 3333, and then I Nginx reverse proxy that to port 80 on my domain name (I will try to get this Nginx code and post it here later))
- and then I run the let's encrypt certbot for https