these are not html tags, silly markdown
This commit is contained in:
parent
47a72c04f9
commit
d1863d6db7
1 changed files with 3 additions and 3 deletions
|
@ -32,10 +32,10 @@ NodeJS is available as `nodejs` package on Debian. `apt install nodejs`. Debian
|
||||||
* There, enter following:
|
* There, enter following:
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
ALTER USER postgres with encrypted password '<PASSWORD>';
|
ALTER USER postgres with encrypted password '[PASSWORD]';
|
||||||
```
|
```
|
||||||
|
|
||||||
where <PASSWORD> is any string, no need to manually encrypt it - postgres will encrypt it automatically for you.
|
where [PASSWORD] is any string, no need to manually encrypt it - postgres will encrypt it automatically for you.
|
||||||
* Replace password in file `config/dev.exs` with password you supplied in previous step (look for line like `password: "postgres"`)
|
* Replace password in file `config/dev.exs` with password you supplied in previous step (look for line like `password: "postgres"`)
|
||||||
|
|
||||||
* Edit `/etc/postgresql/9.6/main/pg_hba.conf` (Assuming you have the 9.6 version) and change the line:
|
* Edit `/etc/postgresql/9.6/main/pg_hba.conf` (Assuming you have the 9.6 version) and change the line:
|
||||||
|
@ -60,7 +60,7 @@ NodeJS is available as `nodejs` package on Debian. `apt install nodejs`. Debian
|
||||||
```sql
|
```sql
|
||||||
\c pleroma_dev
|
\c pleroma_dev
|
||||||
CREATE user pleroma;
|
CREATE user pleroma;
|
||||||
ALTER user pleroma with encrypted password '<your password>';
|
ALTER user pleroma with encrypted password '[your password]';
|
||||||
GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;
|
GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;
|
||||||
GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;
|
GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue