1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-13 21:52:29 +01:00
polr/README.md

63 lines
3.1 KiB
Markdown
Raw Normal View History

2016-02-12 17:41:42 +01:00
# [![Logo](http://i.imgur.com/aOtrJNz.png)](https://project.polr.me)
2015-11-04 03:25:30 +01:00
:aerial_tramway: A modern, minimalist, and lightweight URL shortener.
2016-02-13 22:57:29 +01:00
[![GitHub license](https://img.shields.io/badge/license-GPLv2%2B-blue.svg)]()
[![Builds status](https://travis-ci.org/cydrobolt/polr.svg)](https://travis-ci.org/cydrobolt/polr)
2016-03-02 02:45:21 +01:00
[![Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat)](http://polr.readthedocs.org/en/latest/)
2015-11-15 16:51:02 +01:00
2016-09-12 01:20:45 +02:00
Polr is an intrepid, self-hostable open-source link shortening web application with a robust API. It allows you to host your own URL shortener, to brand your URLs, and to gain control over your data. Polr is especially easy to use, and provides a modern, themable feel.
2016-02-12 17:41:42 +01:00
2016-09-12 01:25:26 +02:00
[Getting Started](http://docs.polr.me/en/latest/user-guide/installation/) - [API Documentation](http://docs.polr.me/en/latest/developer-guide/api/) - [Contributing](https://github.com/cydrobolt/polr/blob/master/.github/CONTRIBUTING.md) - [Bugs](https://github.com/cydrobolt/polr/issues) - [IRC](http://webchat.freenode.net/?channels=#polr)
2016-02-12 17:41:42 +01:00
2016-09-12 01:20:45 +02:00
### Quickstart
2016-02-12 17:41:42 +01:00
2016-09-12 03:17:51 +02:00
Polr is written in PHP and Lumen, using MySQL as its primary database.
2016-02-12 17:41:42 +01:00
2016-03-16 02:48:20 +01:00
- To get started with Polr on your server, check out the [installation guide](http://docs.polr.me/en/latest/user-guide/installation/). You can clone this repository, or download a [release](https://github.com/cydrobolt/polr/releases).
- To get started with the Polr API, check out the [API guide](http://docs.polr.me/en/latest/developer-guide/api/).
2015-11-04 03:25:30 +01:00
2016-02-29 05:06:17 +01:00
2016-09-12 03:17:51 +02:00
Installation TL;DR: clone or download this repository, set document root to `public/`, create MySQL database, go to `yoursite.com/setup` and follow instructions.
2016-05-22 17:04:56 +02:00
2016-09-12 01:20:45 +02:00
### Demo
2016-05-22 17:04:56 +02:00
2016-09-12 03:09:18 +02:00
To test out the demo, head to [demo.polr.me](http://demo.polr.me) and use the following credentials:
2016-05-22 17:04:56 +02:00
2016-09-12 03:09:18 +02:00
- Username: `demo-admin`
- Password: `demo-admin`
2016-05-22 17:04:56 +02:00
2016-09-12 01:20:45 +02:00
### Upgrading Polr
2016-09-12 01:22:28 +02:00
Please do not attempt to upgrade directly to 2.x.
2016-09-12 01:20:45 +02:00
Polr 1.x currently cannot be upgraded to 2.x automatically. There are breaking changes in the API, configuration files, and database structure. It is safe to upgrade between different versions in the 1.x arch, which do not have breaking changes. Always backup your database and configuration files before upgrading Polr.
#### Browser Extensions
* Safari - [Polr.safariextension](https://github.com/cleverdevil/Polr.safariextension).
2016-05-22 17:04:56 +02:00
2016-02-12 17:41:42 +01:00
####Versioning
2015-11-04 03:25:30 +01:00
2016-02-12 17:41:42 +01:00
Polr uses [Semantic Versioning](http://semver.org/)
2015-11-15 16:51:02 +01:00
2016-05-22 17:04:56 +02:00
2015-11-04 03:25:30 +01:00
####License
Copyright (C) 2013-2016 Chaoyi Zha
2015-11-04 03:25:30 +01:00
2015-11-07 02:27:11 +01:00
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
2015-11-04 03:25:30 +01:00
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
2015-11-07 02:27:11 +01:00
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.