Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

andriantonee/Dota-Battleground-Web-and-API

Repository files navigation

Software Requirement

  • XAMPP or (PHP with version >= 5.6.4 & mySQL)
  • Composer
  • NodeJS
  • Bower

Installation

  1. Clone this repository or Download the ZIP file.
$ git clone https://github.com/andriantonee/Dota-Battleground-Web-and-API.git project-directory
  1. Then get into the project-directory.
$ cd project-directory
  1. Copy & Paste .env.example file and Rename to .env.
  2. Run composer install to install dependencies.
$ composer install
  1. Generate Application Key.
$ php artisan key:generate
  1. Create database in mySQL with name dota_battleground.
  2. Run installation schema.
$ php artisan migrate
  1. Generate Passport Key.
$ php artisan passport:key
  1. Generate CLIENT ID for Passport Authentication.
$ php artisan passport:client --password --name="Laravel Password Grant Client"
  1. Change PASSPORT_CLIENT_ID & PASSPORT_CLIENT_SECRET variable inside .env file using value from generated CLIENT ID above.
  2. Run bower install to install CSS & JS dependencies.
$ bower install
  1. Generate symlink folder using php artisan.
$ php artisan storage:link
  1. Generate Challonge Developer API Key and change CHALLONGE_API_KEY variable inside .env file.
  2. Generate Dota 2 API Key and change DOTA2_API_KEY variable inside .env file.
  3. Create Pusher Project and change PUSHER_APP_ID, PUSHER_KEY and PUSHER_SECRET variable inside .env file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published