Update install instructions for mac

This commit is contained in:
Nikita Voloboev 2018-03-02 13:35:22 +01:00
parent 32d86cb424
commit 97fd2355f7
No known key found for this signature in database
GPG key ID: 43EDACFC00099A17

View file

@ -63,10 +63,7 @@ Dendrite requires a postgres database engine, version 9.5 or later.
sudo -u postgres createuser -P dendrite # prompts for password
```
On macOS you need to run:
```bash
createuser -P dendrite
```
On macOS, omit `sudo -u postgres`.
* Create databases:
```bash
@ -75,12 +72,7 @@ createuser -P dendrite
done
```
On macOS you need to run:
```bash
for i in account device mediaapi syncapi roomserver serverkey federationsender publicroomsapi naffka; do
createdb -O dendrite dendrite_$i
done
```
On macOS, omit `sudo -u postgres`.
### Crypto key generation