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

62 lines
3.3 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-04-17 06:19:29 +02:00
Polr is an open-source link shortening web application designed to operate at a brisk pace while offering a full-featured experience. 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-02-29 05:27:41 +01: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/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-03-02 02:43:38 +01:00
### Upgrading from 1.x
**Please do not attempt to upgrade directly to 2.x.**
Polr 1.x currently cannot be upgraded to 2.x automatically. There are breaking changes in the API, configuration files, and database structure. A migration will be provided once 2.0 stable is officially released. In the meantime, it is okay to upgrade between different versions in the 1.x arch, which do not have breaking changes.
2016-02-12 17:41:42 +01:00
#### Quickstart
Polr is written in PHP and Laravel, using MySQL as its primary database.
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
_Installation TL;DR: clone or download this repository, set document root to `public/`, MySQL create database, go to `yoursite.com/setup`_
2016-05-22 17:04:56 +02:00
#### Demo
Polr operates a demo instance at [demo.polr.me](http://demo.polr.me). You can use the demo instance to develop your API implementation, try out the admin panel, or simply experience the app without needing to install it on your own servers. The demo instance may be periodically reset, so please do not use the demo as a production URL shortener.
__Admin username:__ demo-admin (password is same as username)
__Normal user username:__ demo-user (password is same as username)
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.