|
|
|
|
|
by skram
4652 days ago
|
|
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. |
|
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).