Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Comment castles:

https://github.com/ferg1e/comment-castles

(I'm the developer)



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.


Yeah, 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/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


Thanks! I’ll check it out


This is quite interesting, but just curious if this is under development, as I notice the UI is not that great through?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: