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
Capistrano support? #448
Comments
Not that I know, at least we at Sharetribe do not use Capistrano. |
That is a bit pity, what you think? Probably you have it in to-do list? What is your best receipt to update code on production machine then? |
That's not in our todo-list. We're using Heroku for hosting and there is a rake task to do the deployment to Heroku. It works really well for us with no down-time. I'm not very familiar with Capistrano. What do you think, what kind of benefits would it bring to us? |
In comparison with your rake task which do deployment to heroku - then nothing much :-) So it would bring benefits to non-heroku hosting. Yes i am also not capistrano expert, but i am lazy and use capistrano for every deployment. For now i am playing with sharetribe on local, soon i will be playing with deployment to staging. I hope i will be able to share some hints with sharetribe community. |
Thanks for information! Even though sharetribe.com is hosted on Heroku, we do want supports non-Heroku environments as well. If you think Capistrano would help in those cases, we are definitely open for improvement suggestions :) |
I've been trying for literally weeks to get Capistrano to work for Sharetribe, I get so close, but then something breaks. Trying Mina now to see if it is a Capistrano problem. I just tried to run 'bundle exec rails console' and even that doesn't work, so I'm going to file an issue separate for that. I'm almost at the point that I could write a non-heroku deployment guide. |
i am sorry to hear that, but have you tried https://github.com/sharetribe/sharetribe/blob/master/docs/vps-deployment.md ? |
@kjakub Hi, I am also using capistrano, I need to deploy following command in staging or production RAILS_ENV=production bundle exec rake ts:index |
@vivek2007 commands seems correct, however not sure where the file https://github.com/sharetribe/sharetribe/blob/master/docs/vps-deployment.md go, too long time ago and i have not been around since. But i was able to find this https://github.com/kjakub/sharetribe/blob/fd1e7b4f8b4efac656c806b1fc5569fdedf93ce9/docs/vps-deployment.md |
@kjakub, Hi my request and question is, sometimes search not working and mail notifications not workng in that cases we need to run bundle exec rake jobs:work and ts:index but how to run those commads from local system |
@kjakub, need to add rake tasks in deploy.rb or not required ? |
no, you should just run those capistrano tasks |
Did anybody deploy this application with capistrano?
The text was updated successfully, but these errors were encountered: