Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.23 KB

File metadata and controls

51 lines (37 loc) · 1.23 KB

bst-mux

BST is a multiuser backups and file sync service management system based on Syncthing, using Docker and Go.

Development

BST is built on the Gorilla-mux framework for the web interface and restangular

Installation

Install Docker: follow the instructions at Docker's web site.

Install bst-mux: clone this repository

Prepare Docker: run Dockerfile

Prepare Directories

	mkdir -p /home/syncthing/real

Create synching user

	adduser --home /home/syncthing --uid 22000 -g users --disable-password syncthing

Change permisions

	chown -R 22000 /home/syncthing

Copy config.xml default

	cp res/config.xml.orig /home/syncthing/config.xml

Run bst-mux

	go run main.go

Setup

The first user registed in the system belongs to the administration group (admin). Users belonging to this group can create, update and delete other users.

Debian notes

Docker installation

To install the latest version of Docker, type the following commands as root:

apt-get update; apt-get install curl
curl -sSL https://get.docker.com/ | sh