diff --git a/.env.example b/.env.example index 3a07adc..205605b 100755 --- a/.env.example +++ b/.env.example @@ -1,2 +1,3 @@ DOWNLOADS_DIRECTORY="/tmp/lancache-autofill" -STEAMCMD_PATH="~/steam/steamcmd.sh" \ No newline at end of file +STEAMCMD_PATH="~/steam/steamcmd.sh" +STEAM_API_KEY="YOUR-API-KEY" diff --git a/Vagrantfile b/Vagrantfile index dc067ab..50e5404 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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", diff --git a/config/app.php b/config/app.php index 8cceef8..d5019fd 100644 --- a/config/app.php +++ b/config/app.php @@ -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, ], ]; \ No newline at end of file diff --git a/config/steam-api.php b/config/steam-api.php new file mode 100644 index 0000000..29bda02 --- /dev/null +++ b/config/steam-api.php @@ -0,0 +1,10 @@ + env('STEAM_API_KEY', 'YOUR-API-KEY') +);