Source code for the website www.destiny.gg This is a work in progress!
The design including all CSS and images by [http://www.destiny.gg/] unless otherwise noted, is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. http://creativecommons.org/licenses/by-nc-nd/3.0/deed.en_US
All JavaScript, PHP and Database schemas by [http://www.destiny.gg/] unless otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. http://creativecommons.org/licenses/by-sa/3.0/deed.en_US
Illustration of Destiny used throughout [http://www.destiny.gg/] owned by @elevencyan
nodejs Dependency manager
grunt Project builder
composer PHP dependency manager
glue Glue is a simple command line tool to generate CSS sprites
nginx, php 5.3+, 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
Install the node dependencies
npm install
Install the PHP dependencies
composer install
Build the project
grunt build
All api requests and heavy tasks are done on a single cron task (currently running every 60 seconds on the live server) This is controlled by the Scheduler, by running "Tasks".
If you are running the website locally, you can call this file manually, or setup a cron. /cron/index.php
The table "[prefix_]scheduled_tasks" will show when specific tasks have been run.
If you don't run this, you will get empty UI and limited functionality in the site.
Build the project
grunt
Glue - create the project sprites
grunt glue