Skip to content

geekosphere/wootpaste

Repository files navigation

wootpaste - python/flask pastebin

This is the source code for the paste.geekosphere.org pastebin, licensed under the Affero General Public License Version 3. Affero General Public License, Version 3.

Install

sass executable needs manual install. (gem install sass)

% mkvirtualenv wootpaste
% workon wootpaste
% pip install -r requirements.txt
% python wsgi.py

Testing

pip install nose
nosetests test

Database

CREATE USER wootpaste WITH PASSWORD 'pw';
CREATE DATABASE wootpaste;
GRANT ALL PRIVILEGES ON DATABASE wootpaste to wootpaste;

Dependencies for spam detection

pip install numpy
pip install cython
pip install git+http://github.com/scipy/scipy/
pip install scikit-learn