Spud Events is an event and calendaring engine for the Spud Engine
- 
Add the following to your Gemfile
gem 'spud_core' gem 'spud_events', :git => "git://github.com/davydotcom/spud_events.git" - 
Run
bundle install - 
Copy the database migrations in to your rails project
rake railties:install:migrations - 
Run the database migrations
rake db:migrate - 
The defualt URL for the calendar page is
/calendar 
- 
Set the layout for the calendar pages (Defualt is layouts/spud/calendar)
Spud::Events.configure do |config| config.calendar_layout = 'application' end - 
Override the default calendar views by placing the corresponding views in the
calendarsandcalendar_eventsview folders. - 
Include the default calendar CSS by adding the following to your
application.cssfile/* ... *= require spud/events */ 
Spud uses RSpec for testing. Get the tests running with a few short commands:
- 
Create and migrate the databases:
rake db:create rake db:migrate - 
Load the schema in to the test database:
rake app:db:test:prepare - 
Run the tests with RSpec
rspec spec 
After the tests have completed the current code coverage stats is available by opening /coverage/index.html in a browser.