Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (10 sloc) 0.663 kb
run:
@PYTHONPATH=.:$$PYTHONPATH python thumbor/server.py -l debug
pretest:
@-mysql -u root -e 'DROP DATABASE IF EXISTS thumbor_tests'
@-mysql -u root -e 'CREATE DATABASE IF NOT EXISTS thumbor_tests'
@-mysql -u root -e 'CREATE TABLE IF NOT EXISTS images (url VARCHAR(1000) NOT NULL PRIMARY KEY, contents BLOB NOT NULL, security_key VARCHAR(100) NULL, last_update TIMESTAMP(8))' thumbor_tests
test: pretest
@PYTHONPATH=.:$$PYTHONPATH nosetests -v -s --with-coverage --cover-erase --cover-package=thumbor tests
mysql_test: pretest
@PYTHONPATH=.:$$PYTHONPATH nosetests -v -s --with-coverage --cover-erase --cover-package=thumbor tests/test_mysql_storage.py
Jump to Line
Something went wrong with that request. Please try again.