1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-09-19 15:11:40 +02:00
polr/README.md

70 lines
3.2 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.
2017-02-04 06:10:10 +01:00
[![GitHub license](https://img.shields.io/badge/license-GPLv2%2B-blue.svg)]()
[![GitHub release](https://img.shields.io/github/release/cydrobolt/polr.svg)](https://github.com/cydrobolt/polr/releases)
2016-02-13 22:57:29 +01:00
[![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
2017-02-04 06:10:10 +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-12-07 02:13:56 +01:00
*Upgrading from 1.x:*
2016-09-12 01:20:45 +02:00
2016-12-07 02:13:56 +01:00
There are breaking changes between 2.x and 1.x; it is not yet possible to automatically upgrade to 2.x.
2016-09-12 01:20:45 +02:00
2016-12-07 02:14:28 +01:00
*Upgrading from 2.x:*
2016-12-07 02:13:56 +01:00
- Back up your database and files
- Update by using `git pull` or downloading a release
2017-01-27 00:46:56 +01:00
- Run `composer install --no-dev -o` to ensure dependencies are up to date
2017-01-05 21:03:37 +01:00
- Migrate with `php artisan migrate` to ensure database structure is up to date
2016-09-12 01:20:45 +02:00
#### Browser Extensions
2017-01-27 00:11:53 +01:00
* Safari - [Polr.safariextension](https://github.com/cleverdevil/Polr.safariextension)
2016-05-22 17:04:56 +02:00
2017-03-23 21:35:45 +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
2017-03-23 21:35:45 +01:00
#### License
2015-11-04 03:25:30 +01:00
2017-01-03 04:12:53 +01:00
Copyright (C) 2013-2017 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.