How to properly move site to production server

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

SilverStripe 4.4:

How to properly move site to production server:

Hi,
I believe that is trivial but i always get problem with that.
I make my app on local server (wamp) and I need to move it to shared hosting. What changes i should do?

  1. Copy files
  2. Backup DB on local and import on shared hosting
  3. Make proper changes in .env file
  4. In public/.htaccess I’m changing RewriteBase - should I?
    Is some others steps that i should do?

For now i’m gettin error 500 and nothing in log file