Skip to content

Instantly share code, notes, and snippets.

@siguremon
Last active December 16, 2015 16:09
Show Gist options
  • Select an option

  • Save siguremon/5461005 to your computer and use it in GitHub Desktop.

Select an option

Save siguremon/5461005 to your computer and use it in GitHub Desktop.
Ruby on Railsとfullcalendar pluginでGoogleカレンダークローンを作る(1) ref: http://qiita.com/siguremon/items/73651af19babd22fe012
+ *= require fullcalendar
+ //= require moment
+ //= require fullcalendar
<div id="calendar"></div>
$(document).ready(function() {
$('#calendar').fullCalendar({
})
});
bundle exec rails new calendarclone --skip-bundle
cd calendarclone
bundle install --path vendor/bundle
bundle exec rails g controller calendar index
bundle exec rails s
source 'https://rubygems.org'
gem 'rails', '4.1.8'
gem 'sqlite3'
gem 'fullcalendar-rails'
gem 'momentjs-rails'
gem 'uglifier'
gem 'jquery-rails'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment