Dungeon Crawl Stone Soup scoreboard keeper for the Cosplay challenges
- PHP 7.1
- MySQL or compatible database
- Composer (php package manager)
composer install
cp resources/setup/webserver.php webroot
- Import
resources/setup/db.sql
into your local database - Start local webserver with
resources/bin/local
The vendor/bin/local
injects the database credentials. Assumes that the db cosplay
is available to user root
with password root
on localhost
. Edit if not appropriate.
I suggest you use git bash which allows the composer and heroku clis to work as on *nix.
app
contains backend logic like the Models and Scoring systemscontent/layouts/default
contains the HTML/PHP that wraps all pages (like HTML header and the body start and end)content/pages
contains the view files. There is no configration needed, a file here maps to an available url.resources
contains configuration and other bootstrapping not used for much atmtests
contains some backend logic testswebroot
everything in this folder is available directly as files in the web. Contains the images and style filesvendor
contains the dependencies, should not be edited and is automatically handledby the Composer package mgnt.