Giter Club home page Giter Club logo

Comments (13)

kjakub avatar kjakub commented on May 31, 2024 1

@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

from sharetribe.

rap1ds avatar rap1ds commented on May 31, 2024

Not that I know, at least we at Sharetribe do not use Capistrano.

from sharetribe.

kjakub avatar kjakub commented on May 31, 2024

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?

from sharetribe.

rap1ds avatar rap1ds commented on May 31, 2024

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?

from sharetribe.

kjakub avatar kjakub commented on May 31, 2024

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.

from sharetribe.

rap1ds avatar rap1ds commented on May 31, 2024

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 :)

from sharetribe.

jonathanpopham avatar jonathanpopham commented on May 31, 2024

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.

from sharetribe.

kjakub avatar kjakub commented on May 31, 2024

i am sorry to hear that, but have you tried https://github.com/sharetribe/sharetribe/blob/master/docs/vps-deployment.md ?

from sharetribe.

vivek2007 avatar vivek2007 commented on May 31, 2024

@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
RAILS_ENV=production bundle exec rake ts:start
RAILS_ENV=production NODE_ENV=production bundle exec rake assets:precompile
Invoke the delayed job worker:
RAILS_ENV=production bundle exec rake jobs:work

from sharetribe.

vivek2007 avatar vivek2007 commented on May 31, 2024

@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

from sharetribe.

kjakub avatar kjakub commented on May 31, 2024

screenshot from 2018-02-22 00-52-28

something like that from you local machine, but your email issue is related somewhere else

from sharetribe.

vivek2007 avatar vivek2007 commented on May 31, 2024

@kjakub, need to add rake tasks in deploy.rb or not required ?

from sharetribe.

kjakub avatar kjakub commented on May 31, 2024

no, you should just run those capistrano tasks

from sharetribe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.