Lightweight storage server application
git clone https://github.com/imperzer0/privacy-protection-messenger.git
cd filestorage
makepkg -sif
sudo bash -c ". ./PKGBUILD && notarch_prepare && build && notarch_package"
Setup mariadb and create user with name filestorage. Create a password for him (required). Grant him privileges to create and drop databases. Grant him ALL PRIVILIGES on a database "filestorage".
Open up terminal and run commands
sudo mkdir -p /srv/filestorage/
cd /srv/filestorage/
filestorage --address "http://0.0.0.0:PORT" --password <database user password>
If you wanna drop your database run
filestorage --destroy-db --password <database user password>