Sharetribe on AWS: issues with fresh installation

Hi folks,

I have installed the latest version of Sharetribe OS on a Free Tier Amazon setup. I have followed the latest instructions and launch the server with $ foreman start -f Procfile.static : http://ec2-52-29-215-200.eu-central-1.compute.amazonaws.com:3000/

My issue is that the Sharetribe pages do no work correctly: it seems that jQuery is missing and this many parts of the site are not functioning well, such as the profile menu that does not show up.

Did I miss a step? Or is it related to my AWS setup? (I successfully deployed the opensource version on my local machine back in December and did not face that issue). My config.yml: http://pastebin.com/zqPiwuXG

It seems that you have run into this issue: https://github.com/sharetribe/sharetribe/issues/2087 . The workaround is to comment the babel-polyfill as described in the issue comments. We’re not sure what causes this issue and how to fix it.

Btw. foreman start -f Procfile.static is mean to development only. In production use you should run rake assets:precompile and run your Rails app in production mode.

1 Like

Thanks, the trick worked. I also have some issues with some of the icons that are not appearing:

Do you think this is related?

Why should I do with “rake assets:precompile” in production mode?
I have run "RAILS_ENV=production rake assets:precompile"
but the asset is not supplied from server

@quentin The problem with fonts is that the open source version is using font-awesome font icons, where as the hosted sharetribe.com version is using ss-pika font icons. SS pika is commercially licensed font icon set, so we can’t deliver it with the OS version.

Unfortunately the font-awesome font set is lacking behind :frowning: That’s why some icons are missing. There’s a file app/view_utils/icon_map.rb that maps icon name to icon set specific name. There are two maps, one for ss-pika and one for font-awesome. And as you can see, font-awesome map is out-of-date and missing some fonts that are defined in the ss-pika map. We’re happy to receive contributions if someone is willing to update the font-awesome map!

Another option is to buy the SS-pika icon set.

1 Like