alexwennerberg / gourami

A decentralized social network for the small web, implemented in ActivityPub
GNU Affero General Public License v3.0
94 stars 5 forks source link

Docs: suggest diesel_cli feature=sqlite #14

Closed stchris closed 4 years ago

stchris commented 4 years ago

While following the installation steps I noticed that diesel_cli fails to install if you don't have dev headers for all the db libraries it supports (in my case: mysql). Maybe for the time being it would make sense to suggest installing it like this:

$ cargo install diesel_cli --no-default-features --features "sqlite"

alexwennerberg commented 4 years ago

Thanks for the catch!

alexwennerberg commented 4 years ago

Simplifying this process by embedding diesel migrations with https://docs.rs/diesel_migrations/1.4.0/diesel_migrations/macro.embed_migrations.html

stchris commented 4 years ago

Yes, that looks much cleaner 👍

alexwennerberg commented 4 years ago

Resolved in 46bb4c21a68ddc9cde58994ab55a88fecfdf7aa2