README.md 596 Bytes
Newer Older
kaiyou's avatar
kaiyou committed
1 2 3 4 5
Image upload with Flask
=======================

No database, no additional features. Plain and simple image upload.

kaiyou's avatar
kaiyou committed
6 7
![Screenshot](screenshot.png)

kaiyou's avatar
kaiyou committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Use the Docker image
--------------------

Simply allocate a data directory and create the thumbnails
sub-directory:

    mkdir -p /path/to/data/thumbnails

Then run the image server:

    docker run --name=tedimg -d -v /path/to/data:/data kaiyou/tedimg

Build from source
-----------------

NodeJS and NPM are required to build from source :

    git clone git@github.com:kaiyou/tedimg.git
    cd tedimg
    npm install
    gulp
    docker build