Update install instructions for mac (#397)

This commit is contained in:
Nikita Voloboev 2018-03-02 15:33:49 +01:00 committed by Richard van der Hoff
parent 72a1bdffd6
commit 7c60a79e77

View file

@ -62,6 +62,9 @@ Dendrite requires a postgres database engine, version 9.5 or later.
```bash ```bash
sudo -u postgres createuser -P dendrite # prompts for password sudo -u postgres createuser -P dendrite # prompts for password
``` ```
On macOS, omit `sudo -u postgres`.
* Create databases: * Create databases:
```bash ```bash
for i in account device mediaapi syncapi roomserver serverkey federationsender publicroomsapi naffka; do for i in account device mediaapi syncapi roomserver serverkey federationsender publicroomsapi naffka; do
@ -69,6 +72,8 @@ Dendrite requires a postgres database engine, version 9.5 or later.
done done
``` ```
On macOS, omit `sudo -u postgres`.
### Crypto key generation ### Crypto key generation
Generate the keys: Generate the keys: