PhotoBackup / server-bottle

The Python PhotoBackup server implementation
https://photobackup.github.io/
GNU General Public License v2.0
36 stars 7 forks source link

Python Version PyPI version Build Status Code Issues Bitdeli Badge

Join our online chat at Gitter

The Python PhotoBackup server implementation

The Python3 implementation of PhotoBackup server, made with bottle. It follows the official API, currently in version 2.

Requirements

You need:

Installation

Install through PyPI:

pip install photobackup_bottle

Then run the installer, which asks for the directory to save your pictures to and the server password:

photobackup init

The script looks for the directory to be writable by the usual www-data user. It fails gracefully if it is not, just warning you to make it work properly. This step creates a .photobackup file in the user's home directory, containing:

Usage

Launch the server with:

photobackup run

By default, it runs on host 127.0.0.1, port 8420 and reloads automatically.

Production

To put in production, use Nginx to bind a sever name to http://127.0.0.1:8420.