Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 2.15 KB

File metadata and controls

70 lines (47 loc) · 2.15 KB

Photos.network

License GitHub contributors Discord GitHub Workflow Status

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

Core

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)

Development

Always use PEP 484: Type Hints in your syntax.


Visual Studio Code

The fastest start into development can be archived by using Visual Studio Code and Docker.

  1. Install Docker
  2. Install Visual Studio Code
  3. Install Visual Studio Code Remote - Containers
  4. Clone and Open this repository in Visual Studio Code
  5. Click the "Reopen in Container" Dialog
  6. Launch Photos.network from the RUN window.

VS Code with devcontainers


Manual Environment

Prepare an environment by running:

python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements_test.txt

After the environment is build, install the core:

python3 setup.py install

Run

python3 ./venv/bin/core