Adding syntax/steam-api

This commit is contained in:
ilumos 2017-12-09 01:23:03 +00:00
parent 1a8ceb1ad5
commit dd0e2b7835
4 changed files with 15 additions and 2 deletions

View file

@ -1,2 +1,3 @@
DOWNLOADS_DIRECTORY="/tmp/lancache-autofill"
STEAMCMD_PATH="~/steam/steamcmd.sh"
STEAMCMD_PATH="~/steam/steamcmd.sh"
STEAM_API_KEY="YOUR-API-KEY"

2
Vagrantfile vendored
View file

@ -19,7 +19,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision "apt",
type: "shell",
inline: "apt update && apt install -y lib32gcc1 lib32stdc++6 lib32tinfo5 lib32ncurses5 php7.0-cli php7.0-mbstring php7.0-sqlite composer expect zip unzip"
inline: "apt update && apt install -y lib32gcc1 lib32stdc++6 lib32tinfo5 lib32ncurses5 php7.0-cli php7.0-mbstring php7.0-sqlite php7.0-bcmath composer expect zip unzip"
config.vm.provision "project",
type: "shell",

View file

@ -119,6 +119,7 @@ return [
*/
Illuminate\Cache\CacheServiceProvider::class,
Illuminate\Filesystem\FilesystemServiceProvider::class,
Syntax\SteamApi\SteamApiServiceProvider::class,
],
/*
@ -132,5 +133,6 @@ return [
|
*/
'aliases' => [
'Config' => Illuminate\Support\Facades\Config::class,
],
];

10
config/steam-api.php Normal file
View file

@ -0,0 +1,10 @@
<?php
return array(
/**
* You can get a steam API key from http://steamcommunity.com/dev/apikey
* Once you get your key, add it here.
*/
'steamApiKey' => env('STEAM_API_KEY', 'YOUR-API-KEY')
);