3 ms·
Do you have any suggestions on deploying? I looked over the readme. I’m not understanding how to go from clone to cloud. Meetup sucks and I’m wondering if this
by memhole 2y ago
Do you have any suggestions on deploying? I looked over the readme. I’m not understanding how to go from clone to cloud. Meetup sucks and I’m wondering if this might be a good replacement for local groups.
- codingclaws 2y agoYeah, here is what you need to do: - 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/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
- memhole 2y agoThanks! I’ll check it out