Open source project for school trips
install diesel-cli
brew install mysql-client
After installing mysql-client
If you need to have mysql-client first in your PATH, run:
echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' >> ~/.zshrc
For compilers to find mysql-client you may need to set:
export LDFLAGS="-L/usr/local/opt/mysql-client/lib"
export CPPFLAGS="-I/usr/local/opt/mysql-client/include"
cargo install diesel_cli
to create migrations
diesel migration generate
Cargo Dependencies: