felipe-l / website

www.destiny.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Destiny.gg

Source code for the website www.destiny.gg This is a work in progress!

License

See LICENSE.md

Requirements

Building

nodejs Dependency manager

grunt Project builder

composer PHP dependency manager

glue Glue is a simple command line tool to generate CSS sprites

Running

nginx, php 5.5+, mysql 5, Redis

Getting Started

Create the configuration file "config/config.local.php" and override what you need.

Create and load the database using destiny.gg.sql

Dependencies

Install the node dependencies

npm install

Install the PHP dependencies

composer install

Build the project

grunt build

The cron job

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.

Grunt Tasks

Build the project

grunt

Glue - create the project sprites

grunt glue

About

www.destiny.gg

License:Other


Languages

Language:PHP 74.6%Language:JavaScript 16.3%Language:CSS 6.5%Language:HTML 1.1%Language:Go 0.7%Language:Perl 0.5%Language:Lua 0.1%Language:Shell 0.0%