File storage (HTTP storage) API with IP Auth based on Bottle & SQLite
Developed File storage (HTTP storage) API with IP Auth based on Bottle & SQLite.
In the scope of this task I developed Bottle plugin for IP Auth, which can work with Bottle-SQLite plugin.
Used technologies:
- Python & Bottle & SQLite
- Testing: PyTest & Webtest
- Travis CI
- This project uses
multiprocessing
module for removing expired uploaded files in background in separate process.
- Clone project on your machine
virtualenv env
- Activate virtual env:
- Under Windows:
env\Scripts\activate.bat
- Under Linux:
source env/bin/activate
- Under Windows:
pip install -r requirements/dev.txt
cd <path_where_you_cloned_app>
nohup python manage.py runserver
To run all tests, run
python manage.py test