debianize-mobilizon/debian/README.Debian.md
2024-03-09 12:06:56 +00:00

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"
```