Skip to content
PHP JavaScript CSS TSQL Go VCL Other
Branch: master
Clone or download

Latest commit

Latest commit ea316c7 May 17, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Add assets for new merch vendor May 4, 2020
config Add all static/generated files to .gitignore May 16, 2020
cron improved the UI a little around private messages. Apr 20, 2019
lib fix Admin bans database duplication May 16, 2020
log Moved views into /lib/Resources/ Sep 21, 2013
public wrapped certain common exceptions and caught others and added some ba… Oct 14, 2019
scripts attempt at making the IP user search allow wildcards Nov 9, 2019
tests moved countries from json storage to database Nov 4, 2019
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 pagination to ip search results Nov 9, 2019
.babelrc Asset (css/js) urls now include their hash, and are split up (vendor/… Nov 23, 2018
.gitignore Track package-lock.json May 16, 2020
LICENSE.md Updated the package.json to comply to latest npm standards. Dec 15, 2015
OAUTH.md Added redirectUrl to apps Nov 29, 2018
README.md Modify README to use `npm ci` May 16, 2020
composer.json reverted to monolog for < php7.1 Apr 13, 2019
package-lock.json Track package-lock.json May 16, 2020
package.json No longer bump version number on build May 16, 2020
postcss.config.js updated to bootstrap 4 Dec 2, 2018
webpack.config.js added discord message when a user is created Sep 5, 2019

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 7.1+, 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 ci
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
You can’t perform that action at this time.