Skip to content

POC of a Dungeon Crawl Stone Soup scoreboard keeper for the Cosplay challenges

License

Notifications You must be signed in to change notification settings

kitchen-ace/stone_soup_cosplay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crawl Cosplay Challenge

Dungeon Crawl Stone Soup scoreboard keeper for the Cosplay challenges

Local Development

Requirements

  • PHP 7.1
  • MySQL or compatible database
  • Composer (php package manager)

Install mac/unix

  • 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.

Install windows

I suggest you use git bash which allows the composer and heroku clis to work as on *nix.

File structure

  • app contains backend logic like the Models and Scoring systems
  • content/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 atm
  • tests contains some backend logic tests
  • webroot everything in this folder is available directly as files in the web. Contains the images and style files
  • vendor contains the dependencies, should not be edited and is automatically handledby the Composer package mgnt.

About

POC of a Dungeon Crawl Stone Soup scoreboard keeper for the Cosplay challenges

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 79.4%
  • CSS 13.6%
  • Hack 6.2%
  • Shell 0.8%