This repository has been archived on 2021-01-14. You can view files and clone it, but cannot push or open issues or pull requests.
BBaoVanC b8b5a2518c
Change abort() calls to JSON responses
This makes the responses more consistent. Now, all responses are JSON.
2020-09-05 15:43:36 -05:00
2020-08-31 16:43:58 -05:00
2020-09-02 21:52:13 -05:00

imgupload

CodeFactor Grade GitHub repo size GitHub All Releases GitHub issues GitHub closed issues GitHub

What is imgupload?

imgupload is a Flask + uWSGI application to serve as an all-purpose image/file uploader over POST requests.

Installation

  1. Clone the repository: git clone https://github.com/BBaoVanC/imgupload.git
  2. Enter the imgupload directory: cd imgupload
  3. Create a virtualenv: python3 -m venv env
  4. Enter the virtualenv: source env/bin/activate
  5. Install dependencies: python3 -m pip install -r requirements.txt
  6. Run the Flask app

Running the Flask app

Using uWSGI

https://uwsgi-docs.readthedocs.io/en/latest/Configuration.html

Instructions specific to imgupload are coming soon

Using Flask development server

$ source env/bin/activate  # if you haven't already entered the virtualenv
$ export FLASK_APP=imgupload.py
$ flask run
Description
Python Flask application to receive and save images over POST requests.
Readme 118 KiB
v2.4 Latest
2020-11-24 17:57:58 -06:00
Languages
Python 100%