Skip to content
/ fairly Public

Free url shortner based on flight microframework. Currently powering

Notifications You must be signed in to change notification settings

sudoaza/fairly

Repository files navigation

      .___.    .   ,    ,      .__           
      [__ |* _ |_ -+-  -+- _   [__) _.._.* __
      |   ||(_][ ) |    | (_)  |   (_][  |_) 
            ._|                              

Flight - Mike Cao // http://flightphp.com MIT
Paris&Idiorm - Jamie Matthews // http://j4mie.github.com/idiormandparis BSD
Flight to Paris - Aza // http://esfriki.com GPLv3

Installation

Dependencies

  • PHP >=5.3
  • bcmath
  • pdo_mysql (MySQL driver for PDO)

Optional dependencies

  • phpredis (for redis cache)
  • memcache (for memcache cache)

Geting source

Get the source of master branch.

$ git clone https://github.com/sudoaza/fairly.git

Install GIT dependencies

$ git submodule init
$ git submodule update

Copy configuration skel file

$ cp config.php.dist config.php

Install Data Schema

In MySQL, create schema:

mysql> create schema fairly;

Load schema structure dump

$ mysql -uroot -p  < fairly.sql

Test it!

You can test it with build-in PHP http server (you need define 'DOMAIN' with the port, example: 'localhost:8000')

$ php -S localhost:8000 index.php

About

Free url shortner based on flight microframework. Currently powering

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published