Docs

Install

Step 0: you need a mysql server running.

Step 1: create databases / user / tables
create database b1t;
grant all on b1t.* to b1tuser@localhost identified by 'yourpassord';
use b1t;
CREATE TABLE `lock` (
  `id` varchar(16) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;

CREATE TABLE `urls` (
  `id` varchar(16) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `url` varchar(1024) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  PRIMARY KEY (`id`),
  KEY `url` (`url`(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

insert into `lock` values ('aa');
insert into urls values ('c','http://creativecommons.org/publicdomain/zero/1.0/');
insert into urls values ('o','http://www.opendefinition.org/software-service/');

Step 2: modify your config.php.sample with your values and rename it to config.php