Skip to content

imperzer0/filestorage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filestorage

Lightweight storage server application

Installation

From repository

git clone https://github.com/imperzer0/privacy-protection-messenger.git
cd filestorage

Archlinux

makepkg -sif

Other distributions

sudo bash -c ". ./PKGBUILD && notarch_prepare && build && notarch_package"

Usage

Preparation

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

Running

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>

Other

If you wanna drop your database run

filestorage --destroy-db --password <database user password>