Skip to main content

Simple images serving service,

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ImageButler-0.0.1b0.tar.gz (8.1 kB view hashes)

Uploaded Source

Built Distribution

ImageButler-0.0.1b0-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page