Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choosing application role (web app db) #36

Open
rossettistone opened this issue Feb 27, 2015 · 0 comments
Open

Choosing application role (web app db) #36

rossettistone opened this issue Feb 27, 2015 · 0 comments

Comments

@rossettistone
Copy link

First, thanks for an outstanding repo. Wouldn't have gotten anywhere without this and your accompanying post at http://www.talkingquickly.co.uk/2014/01/deploying-rails-apps-to-a-vps-with-capistrano-v3/

One subtlety that got me into trouble: in production.rb, there's the choice of roles to launch, from %w{web app db}. As I was only putting up a single server, I chose web and deleted the other two. Upon reflection, this was not a good choice, as I imagine web is meant to indicate a web worker rather than a web server.

Thing was, it produced thoroughly mystifying results as tasks silently failed to run, compile and rsync assets, etc. Very frustrating until I read through the tasks again and noticed that many of them specified :app.

Not a proper bug report, just a request: it would be a huge help if the docs or readme made a note of this important choice. I imagine others are likely to run into it as well.

Thanks again for a great repo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant