Coder Social home page Coder Social logo

pw-web's Introduction

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:

  • storage/app/
  • storage/framework/
  • storage/logs/
  • bootstrap/cache/
  • .env

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!

  • money
  • role
  • language
  • remember_token
  • created_at
  • updated_at

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

  • migrations
  • password_resets
  • pweb_apps
  • pweb_articles
  • pweb_payments
  • pweb_ranking_factions
  • pweb_ranking_players
  • pweb_ranking_territories
  • pweb_services
  • pweb_settings
  • pweb_shop_items
  • pweb_transfer
  • pweb_vote_logs
  • pweb_voucher_logs
  • pweb_vouchers

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.

pw-web's People

Contributors

bahastriker avatar gustavovitor avatar tomirons avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.