Finally I imported database from production server to local server named sharetribe_development.
But after this the site loads long time. And ends with message “This site can’t be reached”,
“took too long to respond”.
During this the address 0.0.0.0:3000 goes to address domain_name:3000.
Database sharetribe_development has about 3.6 Gb.
I used this cycle:
After I imported db from production server to local sharetribe_development db I changed domain field to ‘localhost’.
After RAILS_ENV=development foreman start -f Procfile.static I have this message:
`localhost’ is not a valid domain
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,‘script’,‘//www.google-analytics.com/analytics.js’,'gaCustomer’);
(function(){
var communityGaKey = “#{google_analytics_key}”; var communityCookieDomain = “#{PublicSuffix.parse(request.host).domain}”;(in red)
gaCustomer(‘create’, communityGaKey, ‘auto’, {‘legacyCookieDomain’: communityCookieDomain, ‘allowLinker’: true});
gaCustomer(‘send’, ‘pageview’);
})();
Finally something appeared on the browser! In domain field of sharetribe_development db I replaced “localhost” with “lvh.me”
Remind you what I have in config.yml:
But really don’t know how this above data helps.
Unfortunately without pictures.
Ex-developed said that he doesn’t use S3 Amazon. In project code via find tool I found images.
But they don’t appear on the browser. Any help about missing pictures will be appreciated.
Messages from console where I run “foreman start -f Procfile.static”.
“bundle exec rake jobs:work” started in a new console in the project root folder.
INFO {“method”:“GET”,“path”:"/system/images/464/small_3x2/KW_Atmo_Bandraum_1.jpg",“format”:“jpeg”,“controller”:“errors”,“action”:“not_found”,“status”:404,“duration”:2.75,“view”:0.32,“db”:0.03,“params”:{“1566849867”:null,“path”:“system/images/464/small_3x2/KW_Atmo_Bandraum_1”,“format”:“jpg”},“host”:null,“community_id”:null,“current_user_id”:null,“user_agent”:null,“referer”:null,“forwarded_for”:null,“request_uuid”:null}
It seems I see on the chrome all I have in my sharetribe project.
How to do some change and to see what happens.
For example add button somewhere or something to change.
As I know this platform customizable.
On the other side this is MVC Rails framework.
How it all can be matched in the developing? You can give a short example for understanding.
Your view?