Skip to content

Commit

Permalink
Add MacOS steps to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Jan 11, 2024
1 parent e7673fc commit abe5c7e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ sudo systemctl restart postgresql.service

```json
{
'provider': 'file',
'datafile': '/tmp/pgkeyring',
"provider": "file",
"datafile": "/tmp/pgkeyring"
}
```

Expand All @@ -64,12 +64,18 @@ This setup is intended for developmenet, and stores the keys unencrypted in the

## Build from source

1. To build `pg_tde` from source code, you require the following on Ubuntu/Debian:
1. To build `pg_tde` from source code, you require the following:

* On Debian and Ubuntu:
```sh
sudo apt install make gcc libjson-c-dev postgresql-server-dev-16 libcurl4-openssl-dev
```

* On MacOS:
```sh
brew install automake curl json-c gettext postresql@16
```

2. Install or build postgresql 16 [(see reference commit below)](#base-commit)
3. If postgres is installed in a non standard directory, set the `PG_CONFIG` environment variable to point to the `pg_config` executable

Expand Down

0 comments on commit abe5c7e

Please sign in to comment.