Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.53 KB

README.md

File metadata and controls

50 lines (28 loc) · 1.53 KB

Anfora

Build Status

About

This projects aims to create a simple to use self-hosted gallery app with a minimal footprint in the server.

It is being built upon the following technologies:

  • Python 3.6
  • Falcon API framework
  • peewee

Also is in the objectives of this project to create a decentralized social network to share photos. Similar to instagram with the technology used at mastodon.

License

Copyright (C) 2018-? Yábir García Benchakhtir (see AUTHORS.md)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Start services

Start redis

redis-server

Start queue

cd src
pipenv run huey_consumer.py tasks.main.huey -m 1 -w 4

Start server

cd src
pipenv run gunicorn --bind 0.0.0.0:3000 main:app --keep-alive 5 --log-level DEBUG --workers 8 --threads=4

Start streaming

cd src
node streaming/index.js