Source code for the website www.destiny.gg This is a work in progress!
See LICENSE.md
nodejs Dependency manager
webpack Project builder
composer PHP dependency manager
glue Glue is a simple command line tool to generate CSS sprites
nginx, php 5.5+, mysql 5, Redis
Create the configuration file "config/config.local.php" and override what you need.
Create and load the database using destiny.gg.sql
Then download and install glue and composer.
npm install webpack -g
npm install
composer install
npm run build
or
webpack -p
webpack -w
or
webpack
Compiles single images from multiple and outputs a css file. Does this for ./assets/emotes
and ./assets/icons
npm run glue
Pulls the latest list of TLD and outputs a json file ./assets/tld.json
npm run tld
The retrieval of 3rd party data (e.g. twitter feed) is run through a php script that is polled at a set interval.
If you are running the website locally, you can call this file manually, or setup a cron. ./cron/index.php
php -f ./cron/index.php