Greasy Fork is available in English.

Обсуждения » Обсуждение сайта Greasy Fork

help a newbie (me) debug my local GF install attempt?

help a newbie (me) debug my local GF install attempt?

Hello,

Was wondering if someone might help me figure out where I went wrong when trying to follow the instructions here: https://github.com/JasonBarnabe/greasyfork/wiki/Running-Greasy-Fork-locally

I think things are pretty clearly not working since when I try to go to http://localhost:3306/ (I think? that's where I'm supposed to go to see the instance running), I get text like the following (with the black-diamond-question-marks and all):

[���
5.7.13-0ubuntu0.16.04.2�.���> 5%U@72�ÿ÷�ÿ����������*K"OR)~f5FH�mysql_native_password���ÿ„Got packets out of order

I think most of the steps I was able to get through eventually except for bin/delayed_job, which gives me a "no command given" error. Also, I'm not sure that I fulfill the requirement of having Java on this VM (or how to get it if not).

Any help would be appreciated. Thanks!

Looks like an encoding issue. I've never set up gf myself, so I can only guess: maybe your HTTP server didn't use utf8.

Thanks for the reply, wOxxOm! I'm not sure how to figure out if my server didn't use utf8. I was trying to search for more info based on the text I was getting above, and it appears that maybe :3306 is perhaps just the port for mysql. I'm not sure what the port for the GF website is supposed to be on though. I tried a bunch of different things, but most give the "Unable to connect" error, and 80 or just "localhost" gives a generic "Welcome to gninx!" message, so I'm not sure which of the 10000 or so ports I should perhaps look for it at. :smiley:

(p.s. I think the bin/delayed_job problem was that it needed to be bin/delayed_job start, so I updated the wiki)

Thanks, Jason! I did try to edit my nginx configuration with an edited version of your above code, but couldn't get it to work. However, as noted in GitHub, rails server got the site up and mostly running for me. Thanks!

Ответить

Войдите, чтобы ответить.