I'm trying to deploy a node.js app to dotcloud.
The instructions are found on this page:
https://docs.dotcloud.com/#nodejs.html
I found it confusing, it doesn't explain the final result of the files that you need to create.
If I'm just doing a simple website, do I need a 'worker' service?
If I do, are there any tutorials for how to program node.js sites with separate workers and 'web' services? I've no idea...
This is my supervisor.conf
[program:node]
command = NODE_ENV=production node server.js
directory = /home/dotcloud/current
My dotcloud.yml:
mynodejswebservice:
type: nodejs
Is this correct? Do we have to replace the directory?