Requires:

  • MySQL database 5.0 or higher
  • PHP 5.6
  • php-bencode-extension
  • brains

At first, download, compile and install php-bencode. If you dont have PHP 5.6 sorry, but this module only for this version. In this case cut torrents support from code.

Next get latest ZIP or clone repository:

$# sudo apt install mercurial
$# hg clone https://bitbucket.org/21h/distr

You ready to create new database

$# mysql -uroot -p 
mysql> create database distrcms;
mysql> exit
$# mysql -uroot -p distrcms < distr_demo.sql

Now configure nginx, apache or any other exotic webserver for serving CodeIgniter framework.

All done.