blessing-skin-server/README.md

111 lines
4.4 KiB
Markdown
Raw Normal View History

2017-01-21 13:55:34 +08:00
- [中文](https://github.com/printempw/blessing-skin-server/blob/master/README-zh.md)
- <b>English</b>
2017-01-01 23:09:18 +08:00
<p align="center"><img src="https://img.blessing.studio/images/2017/01/01/bs-logo.png"></p>
2016-01-17 16:18:03 +08:00
2017-01-01 23:09:18 +08:00
<p align="center">
<a href="https://github.com/printempw/blessing-skin-server/releases"><img src="https://poser.pugx.org/printempw/blessing-skin-server/version" alt="Latest Stable Version"></a>
<img src="https://img.shields.io/badge/PHP-5.5.9+-orange.svg" alt="PHP 5.5.9+">
<img src="https://poser.pugx.org/printempw/blessing-skin-server/license" alt="License">
<a href="https://twitter.com/printempw"><img src="https://img.shields.io/twitter/follow/printempw.svg?style=social&label=Follow" alt="Twitter Follow"></a>
</p>
2016-09-15 11:21:39 +08:00
2017-01-01 23:09:18 +08:00
Are you puzzled by losing your custom skins in Minecraft servers runing in offline mode? Now you can easily get them back with the help of Blessing Skin Server!
2016-04-11 17:29:40 +08:00
2017-01-01 23:09:18 +08:00
Blessing Skin Server is a web application where you can upload, manage and share your custom skins & capes! Unlike modifying a resource pack, everyone in the game will see the different skins of each other (of course they should register at the same website too).
2016-09-10 23:35:43 +08:00
2017-01-01 23:09:18 +08:00
Blessing Skin Server is an open-source project written in PHP, which means you can deploy it freely on your own web server! Here is a [live demo](http://skin.prinzeugen.net/).
2016-08-30 16:25:49 +08:00
2017-01-01 23:09:18 +08:00
Features
2016-07-23 17:39:41 +08:00
-----------
2017-01-01 23:09:18 +08:00
- Multiple player names can be owned by one user on the website
- Share your skins and capes online with skin library!
- Easy-to-use
- Visual page for user/player/texture management
- Detailed option pages
- Security
- User passwords will be well encrypted
- Email verification for registration (available as plugin)
- Score system for preventing evil requests
- Extensible
- Plenty of plugins available
- Integration with Authme/CrazyLogin/Discuz
2016-09-10 23:35:43 +08:00
Requirements
2016-07-23 17:39:41 +08:00
-----------
2017-01-01 23:09:18 +08:00
Blessing Skin Server has a few system requirements. In most cases, these PHP extensions are already enabled.
2016-07-23 17:39:41 +08:00
2017-01-01 23:09:18 +08:00
- Web server with URL rewriting enabled
2017-01-20 18:17:56 +08:00
- **PHP >= 5.5.9** (use v2.x branch if your server doesn't meet the requirements)
2017-01-01 23:09:18 +08:00
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- GD PHP Extension (for generating CAPTCHA)
2016-07-23 17:39:41 +08:00
2017-01-01 23:09:18 +08:00
Quick Install
2016-07-23 17:39:41 +08:00
-----------
2017-01-01 23:09:18 +08:00
1. Download our [latest release](https://github.com/printempw/blessing-skin-server/releases), extract to where you like to installed on.
2. Rename `.env.example` to `.env` and configure your database information. (For windows users, just rename it to `.env.`, and the last dot will be removed automatically)
3. For Nginx users, add [rewrite rules](#configure-the-web-server) to your Nginx configuration
4. Navigate to `http://your-domain.com/setup` in your browser. If 404 is returned, please check whether the rewrite rules works correctly.
5. Follow the setup wizard and your website is ready-to-go.
2016-07-23 17:39:41 +08:00
2016-09-10 23:35:43 +08:00
Developer Install
2016-07-23 17:39:41 +08:00
------------
2017-01-01 23:09:18 +08:00
If you'd like make some contribution on the project, please deploy it from git first.
2016-07-23 17:39:41 +08:00
2017-01-01 23:09:18 +08:00
**You'd better have some experience on shell operations to continue.**
2016-07-23 17:39:41 +08:00
2017-01-01 23:09:18 +08:00
Clone the code from GitHub and install dependencies:
2016-07-23 17:39:41 +08:00
2016-07-23 17:57:59 +08:00
```
$ git clone https://github.com/printempw/blessing-skin-server.git
$ composer install
2017-01-01 23:09:18 +08:00
$ npm install
2016-07-23 17:57:59 +08:00
$ bower install
```
2016-07-23 17:39:41 +08:00
2016-09-10 23:35:43 +08:00
Build the things!
2016-07-23 17:39:41 +08:00
2016-07-23 17:57:59 +08:00
```
2016-08-30 16:25:49 +08:00
$ gulp
2016-07-23 17:57:59 +08:00
```
2016-07-23 17:39:41 +08:00
2017-01-21 13:55:34 +08:00
Congrats! You made it. Next, please refer to No.2 of [Quick Install].
2016-07-23 17:39:41 +08:00
2016-09-10 23:35:43 +08:00
Configure the Web Server
2016-07-23 17:39:41 +08:00
------------
2017-01-01 23:09:18 +08:00
For Apache (most of the virtual hosts) and IIS users, there is already a pre-configured file for you. What you need is just to enjoy!
2016-07-23 17:39:41 +08:00
2017-01-01 23:09:18 +08:00
For Nginx users, **please add the following rules** to your Nginx configuration file:
2016-07-23 17:39:41 +08:00
```
location / {
try_files $uri $uri/ /index.php?$query_string;
}
# Protect .env file
2016-09-10 23:35:43 +08:00
location ~ /\.env {
deny all;
}
2016-07-23 17:39:41 +08:00
```
2016-09-10 23:35:43 +08:00
Mod Configuration
2016-07-23 17:39:41 +08:00
------------
2016-09-10 23:35:43 +08:00
See [Wiki - Mod Configuration](https://github.com/printempw/blessing-skin-server/wiki/Mod-Configuration)
2016-07-23 17:39:41 +08:00
![screenshot2](https://img.prinzeugen.net/image.php?di=42U6)
2017-01-02 10:53:19 +08:00
FAQ
------------
Read [Wiki - FAQ](https://github.com/printempw/blessing-skin-server/wiki/FAQ) and double check if your situation doesn't suit any case mentioned there before reporting.
Report Bugs
------------
2017-01-20 18:17:56 +08:00
Please attach your log file (located at `storage/logs/laravel.log`) when reporting a bug. You should also provide the information of your server where the error occured on. Bugs will be addressed ASAP.
2017-01-02 10:53:19 +08:00
2016-09-10 23:35:43 +08:00
Copyright & License
2016-07-23 17:39:41 +08:00
------------
2016-09-10 23:35:43 +08:00
Copyright (c) 2016 [@printempw](https://prinzeugen.net/) - Released under the GUN General Public License v3.0.