From 6bd30650cb8670a146819a342ccefd3d73ed5085 Mon Sep 17 00:00:00 2001 From: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com> Date: Thu, 26 May 2022 13:56:46 +0200 Subject: [PATCH] Add required dependencies to README (#151) * Add required dependencies to README - slqx-cli - postgresql-client - libssl-dev on Ubuntu * Add sqlx command for all operating systems --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7662c98..701136f 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,21 @@ cargo install -f cargo-binutils rustup component add llvm-tools-preview ``` +``` +cargo install --version=0.5.7 sqlx-cli --no-default-features --features postgres +``` + ### Linux ```bash # Ubuntu -sudo apt-get install lld clang +sudo apt-get install lld clang libssl-dev postgresql-client # Arch -sudo pacman -S lld clang +sudo pacman -S lld clang postgresql +``` + +``` +cargo install --version=0.5.7 sqlx-cli --no-default-features --features postgres ``` ### MacOS @@ -60,6 +68,10 @@ sudo pacman -S lld clang brew install michaeleisel/zld/zld ``` +``` +cargo install --version=0.5.7 sqlx-cli --no-default-features --features postgres +``` + ## How to build Launch a (migrated) Postgres database via Docker: