Pastedance
Pastedance copied to clipboard
Dancer driven Pastebin
Prerequisites
- perl
- Dancer
- DateTime
- Data::Uniqid
- Inline::Python
- pygments in your python installation
- Dancer::Plugin::MongoDB
- Template::Toolkit
And a mongodb of course.
Installation
cpanm Dancer Dancer::Plugin::Mongo Template DateTime Data::Uniqid
sudo aptitude install python-pygments
or follow
http://pygments.org/docs/installation/
Running
cp config.yml.dist config.yml
cd bin/
cp app.pl ../Pastedance.pl
./Pastedance.pl
or one of the other many ways to run a Dancer application. See Dancer::Deployment for some hints.
Notes
- You can see Pastedance in action here: http://pb.rbfh.de/
- An App::Nopaste plugin for Pastedance is also available