Git Product home page Git Product logo

diablodb's Introduction

DiabloDB

Scrutinizer Code Quality Codacy Badge Build Status

DiabloDB is a character database aimed at clans and communities which lists characters in a sortable/filterable list.

Project Status

DEVELOPMENT - We do not currently recommend using the application on live servers, though testing would be appreciated.

This project is still in the relatively early stages of development, if you would like to help contribute please get in touch.

Documentation

Documentation can also be found here

Requirements

The database uses Laravel framework so the requirements of that apply, we recommend a minimum of PHP 5.5

Installation

  • Download the files to the appropriate root folder
  • Run a "composer install" to get required dependencies.
  • Create a .env file (copy .env.example and copy in your db details) or you can edit app/config/database.php if required.
  • run "php artisan migrate"
  • run "php artisan db:seed"
  • Open the app in your browser and go to /register and create your account.
  • run "php artisan role:assign" select your user account and the administrator role (should be 2).

At this point you should be set up as an administrator on the application, please visit /admin to test this step worked.

Configuration

Open up config/diablo.php

Under 'battlenet':

  • Edit the sitename to your community name (or whatever you would like to appear in the header).
  • Check your region and locale settings.
  • Enter your API Key (which can be obtained by registering on the blizzard dev portal here if you do not already have one)

Updating Members/Characters

There are several options for updating members and characters: Cron, Queue, Manual

Manual

Currently only the manual method for updating members/characters has been tested, use the steps below to do this.

To update members (which adds members characters to the database)

php artisan members:update

This will call the battlenet api with the members battletags and return data such as paragon levels, characters, etc.

Following this you can then call

php artisan characters:update

Which will update each character individually and update their stats (health, damage, gold find, etc).

diablodb's People

Contributors

tfstudio avatar scrutinizer-auto-fixer avatar

Watchers

Hang Meng 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.