Hacker News new | ask | show | jobs
by the_concussed 4653 days ago
Thanks everyone for checking out the site. Would be great to get your perspectives on any of the following:(i) Do you think I should add a custom ConcussionJS sign up/login, or stick with Google/Facebook authentication?, (ii) what kind of projects would you use something like this for, (iii) what additional features would you like to see?
2 comments

Personally, I'd love to see a simpler setup process. Maybe allow using just MongoDB instead of both Redis and MongoDB?

It was also a bit annoying (to me) that at the beginning of installing from source it seemed possible to install somewhere other than $HOME but the install.sh scripts had so many references to $HOME I decided it wasnt worth changing them all.

Great feedback, and agreed on both fronts! I added Redis to the mix because it has support for a really nice rate limiter pattern that's simple to implement, but its probably overkill for what people want when they deploy locally for experimentation or to contribute to ConcussionJS. I should probably have a production fork of concussionjs-proxy for the short term with the rate limiter, and a master fork built exclusively on mongo.

RE the built in dependencies to the $HOME directory, I agree that it's a weakness of the install scripts. I'll add this as an issue at https://github.com/concussionjs/concussionjs-core/issues.

BTW, there is a command-line tool that I've yet to document that you might find handy. It supports:

$ cjs app --create YOUR_APP_NAME $ cjs app --start YOUR_APP_NAME $ cjs app --stop YOUR_APP_NAME $ cjs app --restart YOUR_APP_NAME

You can see the documentation by typing: $ cjs

--create also supports a --template argument (e.g., cjs app --create YOUR_APP_NAME --template YOUR_TEMPLATE_NAME) which copies the contents of the specified folder with the matching name in concussionjs-core/app_template.

Behind the scenes the command line uses a cool util called mon (https://github.com/visionmedia/mon), a super lightweight version of Monit, to keep the nodejs process running for the app specified (e.g., monitoring the process and restarting as necessary).

Thanks - sounds good.
Fixed the $HOME directory dependency issue! Thanks again for the feedback.
I decline to use FB or Google for authentication, for what it may be worth.
I suspect many others feel the same way.. I'll add this as an issue on https://github.com/concussionjs/concussionjs-core/issues
I would prefer just signing up to your service or using OpenID or GitHub instead.