Newbie question about deployment

Hey everyone,

A question from a non-techie guy. Gonna look stupid… I know.

I looked everywhere online to find some precise guidance about it but couldn’t find anything. Must be so obvious that no one needs this to be explained… but me :slight_smile:

I usually rely on a developer to do customizations and deploy them.
However, I have some recurrent and very simple edits to do to my homepage, which I don’t want to bother my developer about (no value add for him, not stimulating, just a waste of his time).

I know exactly how to:

  1. Create new branch and edit code in example_data.rb file.
  2. Pull to Master
  3. Connect to my environment (through SSH) via my terminal

What I don’t know is how to deploy my new Master in production. I don’t know what command to run. I’m assuming this should be rather straightforward given it usually takes less than 5 minutes for my freelance dev to deploy.

I’m on DigitalOcean, Sharetribe v7.3.1

Would someone be able to explain what commands I need to run and procedure i need to follow (flush cache, reboot droplet…) to properly deploy my new custom_landing_page code?
Any link with step-by-step guidance.

Thanks in advance and apologies for my ignorance.

Cheers

Anyone ?
Any tutorial I you can direct me to?

Thanks for your time

Hi everyone,

Could you point me to a tutorial that would answer my above question?

Thanks in advance

Always best to ask your developer and don’t worry about them getting offended as I also try to help anyone when I build them a website. But I’m in the same boat as you trying to work on my own site.

Mine told me to run this command from the project directory so make sure your in your sharetribe directory and run: RAILS_ENV=production rake assets:precompile && touch tmp/restart.txt

Hope this helps!

Thanks!! That’s helpful!