PHP JavaScript CSS Go VCL Lua
Clone or download
Permalink
Failed to load latest commit information.
assets bumped version 2.3.17 Feb 21, 2018
config Added "twitchbroadcaster" oauth client, for app access tokens. Jan 25, 2018
cron Moved around and renamed chat / onstreamchat, and removed embed/strea… Jun 15, 2017
lib Removed the restriction on deletion of auth profiles (can now delete … Feb 26, 2018
log Moved views into /lib/Resources/ Sep 21, 2013
public Updated notification icon. Nov 11, 2017
scripts Added task to add a DGG Bday flair. Dec 3, 2017
static Strange issues with chat dependencies --- attempt to fix. Feb 23, 2018
tests Replaced "themattharris/tmhoauth", "adoy/oauth2" with guzzle. Jul 8, 2017
tmp Moved views into /lib/Resources/ Sep 21, 2013
typings Removed all minecraft implementation, and some other unused code. Nov 2, 2017
vendor move the generate emote script into scripts, place a gitignore in nee… Jul 9, 2013
views Added "twitchbroadcaster" oauth client, for app access tokens. Jan 25, 2018
.gitignore Added subs/gifts/donations to profile (pretty crude atm) Oct 30, 2017
LICENSE.md Updated the package.json to comply to latest npm standards. Dec 15, 2015
README.md Added createdDate to SessionCredentials Nov 2, 2017
composer.json changed the doctrine/inflector version to 5.6 compatible. Oct 30, 2017
package.json bumped version, removed package-lock. Feb 23, 2018
postcss.config.js Now calls google fonts from fonts.googleapis.com Jun 11, 2017
tsconfig.json Added TypeScript support. (just name your files with the .ts, .tsx an… Feb 9, 2017
typings.json Added typings support. Feb 9, 2017
webpack.config.js Split DGG chat into its own repository. Oct 31, 2017

README.md

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

webpack 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

Then download and install glue and composer.

Install the node dependencies

npm install webpack -g
npm install
composer install -no-dev

You can now build the project.

npm run build

or

webpack -p

Building while developing

webpack -w

or

webpack

Cron job

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