Hello Developers!
I installed Flarum on a VPS (inside a linux container - I am not using docker, but also used the small alpine-linux, php8.2, mariadb, ..) without any problems. Very nice and smooth - everything worked out of the box..
But I want to 'save' the installation commands into a small shell script.
Is there already a 'method' to automate this last step in my setup script *) the initial setup (which I did via the browser)?
*)
apk add bash grep git sed openssh nginx sqlite openssh-server musl-nscd dnsmasq coreutils file util-linux ccze vim mlocate bind-tools curl ncurses mc socat colordiff procps --progress
apk add php82-fpm mariadb mariadb-client --force-broken-world
/etc/init.d/mariadb setup
service mariadb start
mariadb -e "create database flarum; GRANT ALL PRIVILEGES ON flarum.* TO flarum@localhost IDENTIFIED BY $PASSWORD"
# how to setup the database without accessing the browser-setup ???
I want to skip the setup via the browser-database-installation: