Skip to content
Simple pastebin clone written with Perl/Mojolicious/MongoDB
Perl
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
public/img
script
t
templates
.gitignore
LICENSE
README.md
pastr.conf

README.md

Pastr

Simple pastebin clone written with Perl/Mojolicious/MongoDB. See it in action at http://pastr.markusko.ch

Dependencies

  • Perl
  • Mojolicious
  • Mango module (Non-blocking MongoDB driver for Perl)
  • MongoDB

Installation

Simply clone or download the the repository, adjust the pastr.conf file and execute either:

$ morbo script/pastr (for development), or
$ hypnotoad -f script/pastr (for production)

The app will then listen on either 127.0.0.1:3000 (development) or 0.0.0.0:8080 (production).

To access your app via a reverse proxy, create a minimal VHost like this:

<VirtualHost *:80>
    ServerName pastr.markusko.ch
    ProxyPass / http://127.0.0.1:8080/
</VirtualHost> 
You can’t perform that action at this time.