tomirons / pw-web

This is an open source user/admin panel for the game Perfect World.
28 stars 25 forks source link

Perfect World Web

Note: This project is no longer supported, however I will still look at pull requests if you'd like to attempt a fix.

Requirements

  1. Composer & Git - Complete steps 1 & 2 on this tutorial
  2. PHP 5.5.9 or higher
  3. PHP GD extension, not sure if you have it? Run apt-get install php5-gd; service apache2 restart

Setup

Download the latest release and upload the files.

First you need to rename .env.example to .env

Then set the permissions to 777 for the following directories/files:

Next, edit the .env file and change the database credentials.

Note: Make sure your inside the pw-web directory when you run the commands.

Run the following command to install all the required packages:

composer install

Note: If you have ANY of the following columns in the users table, REMOVE them!

Note: If you have ANY of the following tables in your database, REMOVE them!

The next step is to create all the database tables and default records, run the following command:

php artisan migrate --seed

Finally, run this last command to generate an application key:

php artisan key:generate

Note: If you receive a 500 error after installation, redo the permissions again.

If you receive any other errors please create an issue.

Note: This project is no longer supported, however I will still look at pull requests if you'd like to attempt a fix.