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

Latest commit

 

History

History
51 lines (48 loc) · 1.51 KB

readme.md

File metadata and controls

51 lines (48 loc) · 1.51 KB

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.