13 lines
420 B
Markdown
13 lines
420 B
Markdown
mobilizon for Debian
|
|
--------------------
|
|
|
|
## Initialize postgresql database
|
|
|
|
```
|
|
sudo -Hiu postgres createuser --pwprompt mobilizon_user
|
|
sudo -Hiu postgres createdb -O mobilizon_user mobilizon_prod
|
|
sudo -Hiu postgres psql -d mobilizon_prod -c "CREATE EXTENSION postgis"
|
|
sudo -Hiu postgres psql -d mobilizon_prod -c "CREATE EXTENSION pg_trgm"
|
|
sudo -Hiu postgres psql -d mobilizon_prod -c "CREATE EXTENSION unaccent"
|
|
```
|