Skip to content

experimental site to make it easy to add sources to news articles

Notifications You must be signed in to change notification settings

Aupajo/unsourced

 
 

Repository files navigation

Unsourced

Setting up

Unsourced uses Python, MySQL, and memcached.

To bootstrap your setup, just run:

script/bootstrap

Notes

PIL dependency

On ubuntu 11.10/64bit:

pip doesn't install PIL properly under 64bit ubuntu - it misses zlib, libjpeg and libfreetype.

Cheesy hack workaround is to install ubuntu PIL package then copy the files into the virtualenv manually:

$ sudo apt-get install python-imaging
$ cp -r /usr/lib/python2.7/dist-packages/PIL {{VIRTUALENV}}/lib/python2.7/site-packages

On Amazon EC2 Linux AMI:

pip compiles PIL from source, so make sure all the image format libraries are installed before installing PIL - the missing ones won't be installed and you'll end up with annoying IOError: decoder jpeg not available kinds of errors.

$ sudo yum install libjpeg libjpeg-devel

About

experimental site to make it easy to add sources to news articles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.8%
  • JavaScript 7.6%
  • Shell 2.6%