sgrif / diesel.rs-website

MIT License
32 stars 97 forks source link

Add instructions for installing if you don't have mysql on your machine #29

Closed HParker closed 7 years ago

HParker commented 7 years ago

I think it is common enough to not have mysql on your machine it warrants an aside in the getting started doc.

Here is a look at what it looks like on my machine:

screen shot 2017-05-01 at 8 57 26 pm

Questions

I don't totally love the syntax highlighting on the error message, but I couldn't figure out another style that looked better. Do you have a preference?

HParker commented 7 years ago

@sgrif Sorry for the ping, but what do you think of this?

killercup commented 7 years ago

Thanks, @HParker!

Can you maybe add a bit more of an explanation to the error message (it says library not found for -lmysqlclient but I don't want to assume everyone knows what this means) and also first suggest installing MySQL as an alternative before customizing the diesel_cli install?

skade commented 7 years ago

I don't think installing mysql-dev if you don't use mysql is useful advice. It needlessly trashes the build host.

HParker commented 7 years ago

Thanks @killercup Sorry I was slow in responding. My goal here was to make it easier to find the command to install without mysql instead of tracking down the issue in github. I am sure it could still be made better, but solves the "I got this weird exception" issue that I ran into.