Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 1.153 kB
run: compile_ext
@PYTHONPATH=.:$$PYTHONPATH python thumbor/server.py -l debug -k thumbor/default.key
compile_ext:
python setup.py build_ext -i
db:
@mysql -u root -e 'DROP DATABASE IF EXISTS thumbor'
@mysql -u root -e 'CREATE DATABASE IF NOT EXISTS thumbor'
@mysql -u root -e 'CREATE TABLE IF NOT EXISTS images (id int NOT NULL PRIMARY KEY, url VARCHAR(1000) NOT NULL, contents BLOB NOT NULL, security_key VARCHAR(100) NULL, detector_data VARCHAR(2000) NULL, last_update TIMESTAMP);' thumbor
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 (id int NOT NULL PRIMARY KEY, url VARCHAR(1000) NOT NULL, contents BLOB NOT NULL, security_key VARCHAR(100) NULL, detector_data VARCHAR(2000) NULL, last_update TIMESTAMP);' thumbor_tests
test pyvows: compile_ext
@PYTHONPATH=.:$$PYTHONPATH pyvows -v --profile --cover --cover_package=thumbor --cover_threshold=90 vows/
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.