Photos.network is an open source project for self hosted photo management. Its core features are:
- Share photos with friends, family or public
- Filter / Search photos by attributes like location or date
- Group photos by objects like people of objects
This repository contains the core system of the project. It is responsible for main tasks e.g.:
- Authentication (validate the identity of users)
- Authorization (handle access privileges of resources like photos or albums)
- Add-on Handling (managing add-ons)
- Persistency (read / write data)
- Task Processing (keep track of running tasks)
Always use PEP 484: Type Hints in your syntax.
The fastest start into development can be archived by using Visual Studio Code and Docker.
- Install Docker
- Install Visual Studio Code
- Install Visual Studio Code Remote - Containers
- Clone and Open this repository in Visual Studio Code
- Click the "Reopen in Container" Dialog
- Launch Photos.network from the
RUNwindow.
Prepare an environment by running:
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements_test.txtAfter the environment is build, install the core:
python3 setup.py installpython3 ./venv/bin/core