Metadata-Version: 2.0
Name: ImageButler
Version: 0.0.1b0
Summary: Simple images serving service,
Home-page: UNKNOWN
Author: Trong-Nghia Nguyen
Author-email: nghia@viisix.space
License: UNKNOWN
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Requires-Dist: Flask
Requires-Dist: Flask-Restful
Requires-Dist: Flask-SQLAlchemy
Requires-Dist: Flask-Migrate
Requires-Dist: Flask-Redislite
Requires-Dist: Flask-Login
Requires-Dist: pycrypto
Requires-Dist: Pillow

ImageButler
===========

Simple image server built on Flask.

Installation
------------

Using pip

.. code-block:: bash

    pip install Flask-Redislite

Configuration & Environment Variables
-------------------------------------

Create *image_butler.conf* referring following example:

.. code-block:: text

    SQLALCHEMY_DATABASE_URI = 'sqlite:////<path-to-your>/ImageButler.db'
    SERVER_NAME = 'image.local-domain:5000'
    REDISLITE_PATH = ''<path-to-your>/ImageButler.rdb'
    REDISLITE_WORKER_PID = '<path-to-your>/workers.pid'

Export environment variables:

.. code-block:: bash

    export FLASK_APP=imagebutler
    export IMAGEBUTLER_CONFIGS=path/to/your/image_butler.conf

For others configuration please referring to documents of *Flask*,
*Flask-Login*, *Flask-SQLAlchemy*... (please check *requirements.txt*).

Database Init
-------------

.. code-block:: bash

    flask db init
    flask db migrate
    flask db upgrade

Run
---

.. code-block:: bash


History
=======


0.0.1 (Nov 11th, 2017)
----------------------

- Create, select, update user via command
- REST API to upload files
- Serving image via URLs


