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
===========
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for ImageButler-0.0.1b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d2497fd0b8a3702de468e1057cf453888a495cf23bda6902ded425c35da4e2d |
|
MD5 | 2e5de6be50e4dd329f12bce9f6243a78 |
|
BLAKE2b-256 | 3647b9ac9847f586d9d2759d71b65e16b2e4104e8c5742cf99641ce4a0d8e651 |