Skip to content

A DnD spell compendium with capacity to keep track of your characters spells knowledge and spellbooks

Notifications You must be signed in to change notification settings

DetectiveAzul/compendium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

109 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compendium

Compendium is a Spellbook tracker made to create, track and organize Dungeons and Dragons spells on units called Spellbooks, owned by Characters. Compendium is a Sinatra RESTfull WebApp written following the MVC development model. Model was written using Ruby, View is based on HTML, CSS and Embedded Ruby. Controller was handled by Sinatra Framework. Finally, database and CRUD actions were handled by PSQL. It was made during week 5 of the Codeclan software development course. A live version of the app can be found at: http://compendium.devazul.co.uk/.

Install

  • Install Postgres: $ brew install postgres && brew services start postgresql

  • Install rvm http://rvm.io/

  • Install bundler: $ gem install bundler

  • Install pry: $ gem install pry

  • $ git clone ...

  • If prompted, install the version of Ruby required for this project

  • Install project gems: $ bundler install

  • Create development database: $ createdb dnd_compendium

  • Set up tables: $ psql -d dnd_compendium -f db/dnd_compendium.sql

  • Seed development database with some data $ ruby db/seed.rb

Run

  • ruby app.rb

character view

About

A DnD spell compendium with capacity to keep track of your characters spells knowledge and spellbooks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published