Add some docs.
This commit is contained in:
parent
8aeddc0b85
commit
3d4c99b96c
6
debian/README.Debian
vendored
6
debian/README.Debian
vendored
@ -1,6 +0,0 @@
|
||||
mobilizon for Debian
|
||||
-------------------
|
||||
|
||||
<Possible notes regarding this package - if none, delete this file.>
|
||||
|
||||
-- unknown <pitchum@unknown> Sat, 13 Jan 2024 13:54:48 +0000
|
12
debian/README.Debian.md
vendored
Normal file
12
debian/README.Debian.md
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
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"
|
||||
```
|
12
debian/README.packaging.md
vendored
Normal file
12
debian/README.packaging.md
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
# Build a Debian package for mobilizon
|
||||
|
||||
## The first time
|
||||
|
||||
```
|
||||
git remote add upstream https://framagit.org/framasoft/mobilizon.git
|
||||
git fetch --all
|
||||
```
|
||||
|
||||
|
||||
## Build a release
|
||||
|
10
debian/README.source
vendored
10
debian/README.source
vendored
@ -1,10 +0,0 @@
|
||||
mobilizon for Debian
|
||||
-------------------
|
||||
|
||||
<This file describes information about the source package, see Debian policy
|
||||
manual section 4.14. You WILL either need to modify or delete this file.>
|
||||
|
||||
|
||||
|
||||
-- unknown <pitchum@unknown> Sat, 13 Jan 2024 13:54:48 +0000
|
||||
|
4
debian/mobilizon-docs.docs
vendored
4
debian/mobilizon-docs.docs
vendored
@ -1,2 +1,2 @@
|
||||
README.Debian
|
||||
README.source
|
||||
debian/README.Debian.md
|
||||
debian/README.packaging.md
|
||||
|
4
debian/templates
vendored
4
debian/templates
vendored
@ -20,13 +20,13 @@ Description: Mobilizon's Postgresql database host
|
||||
|
||||
Template: mobilizon/db_name
|
||||
Type: string
|
||||
Default: mobilizon
|
||||
Default: mobilizon_prod
|
||||
Description: Mobilizon's Postgresql database name
|
||||
Specify the name of the postgresql database.
|
||||
|
||||
Template: mobilizon/db_username
|
||||
Type: string
|
||||
Default: mobilizon
|
||||
Default: mobilizon_user
|
||||
Description: Mobilizon's Postgresql database username
|
||||
Specify the username to connect to the postgresql database.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user