Dungeon Crawl Stone Soup scoreboard keeper for the Crawl Cosplay 3-in-1 website
- PHP 7.3
- MySQL or compatible database
- Composer (php package manager)
composer installcp resources/setup/server.php webroot- Import
resources/setup/cosplay.sqlinto your local database - Start local webserver with
resources/bin/local
The resources/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.
appcontains backend logic like the Models and Scoring systemscontent/layouts/defaultcontains the HTML/PHP that wraps all pages (like HTML header and the body start and end)content/pagescontains the view files. There is no configration needed, a file here maps to an available url.resourcescontains configuration and other bootstrapping not used for much atmtestscontains some backend logic testswebrooteverything in this folder is available directly as files in the web. Contains the images and style filesvendorcontains the dependencies, should not be edited and is automatically handledby the Composer package mgnt.