Skip to content

Commit

Permalink
Create multiflexi user when configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed May 4, 2024
1 parent 18f86b0 commit fcafad2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
20 changes: 20 additions & 0 deletions INSTALL.md
Expand Up @@ -10,11 +10,31 @@ sudo apt install lsb-release wget
echo "deb http://repo.vitexsoftware.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install libapache2-mod-php # easy & preconfigured
sudo apt install multiflexi-DATABASE
```

k dispozici jsou tyto databázové adaptéry: **multiflexi-mysql**, **multiflexi-pgsql** a **multiflexi-sqlite**

These packages from VitexSoftware will be installed

``
php-cakephp-phinx
composer-debian
php-vitexsoftware-ease-core
php-vitexsoftware-ease-html
php-vitexsoftware-ease-bricks
php-spojenet-abraflexi
php-vitexsoftware-abraflexi-bricks
php-vitexsoftware-ease-bootstrap4
php-vitexsoftware-ease-bootstrap4-widgets
php-vitexsoftware-ease-bootstrap4-widgets-abraflexi
php-vitexsoftware-ease-fluentpdo
multiflexi-mysql
multiflexi
```
Výsledná instalace pak bude vypadat takto:
```shell
Expand Down
5 changes: 3 additions & 2 deletions debian/multiflexi.postinst
Expand Up @@ -84,6 +84,9 @@ echo multiflexi postinst action $1

case "$1" in
install | upgrade)

;;
configure)

# If the package has default file it could be sourced, so that
# the local admin can overwrite the defaults
Expand Down Expand Up @@ -137,8 +140,6 @@ install | upgrade)
adduser $SERVER_USER $ADDGROUP
fi
fi
;;
configure)

# Handle webserver reconfiguration/restart ; stolen from zabbix package
db_get multiflexi/reconfigure-webserver || true
Expand Down

0 comments on commit fcafad2

Please sign in to comment.