This project is based on the Laravel framework [v7.x].
master
- developer branch of production destinystatus.com (automatic deploy)destiny1
- legacy version of d1.destinystatus.comlegacy
- original Laravel 4.2 version of d1 destinystatus.env.example
to .env
.env
with any information needed (Bugsnag, environment, db information).env
under the DESTINY_KEY
.env
under the BUNGIE_CLIENT
(client id) and BUNGIE_SECRET
(client secret) codes.composer install
php artisan key:generate
php artisan migrate
yarn install
yarn run dev
yarn run prod
DESTINY_CACHE_DEFAULT
is the default for endpoint caches. We tend to use 5 minutes. That is enough time for people to load a profile, spam a few clicks around the site and keep getting fed cache values instead of API. Any value over 5 minutes adds a message to the homepage explaining the reason for out of date stats.
PROXY_URL
is the URL to a service that takes a request and simply proxies it onward, this allows us to get around API limits as a server side application cannot issue requests as fast as the users use the product.
BUGSNAG_API_KEY
is for the Bugsnag service. This tracks all PHP/Destiny errors, this lets us quickly know what clan/profile/page is broken.
php artisan destiny:manifest --download
will force a redownload of the Manifest and process all entities into the file system.
php artisan destiny:medal [give|take] gamertag console badge
is the command for giving/taking badges. For example php artisan destiny:medal give iBot xbl donator
gives iBot on Xbox Live the donator badge.