mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-18 14:06:37 +00:00
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
This commit is contained in:
parent
5af5cf696b
commit
6bd30650cb
1 changed files with 14 additions and 2 deletions
16
README.md
16
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:
|
||||
|
|
Loading…
Reference in a new issue