This is a calendar application based on Drifting Ruby's calendar application ( https://www.driftingruby.com/episodes/fullcalendar-events-and-scheduling ) It uses Ruby on Rails with MySQL, FullCalendar ( https://fullcalendar.io ), and moment.js ( https://momentjs.com ) The goal of this project was to learn about FullCalendar and make something mobile friendly. To that end this application differs from Drifting Ruby's in that it uses HTML5 datetime pickers in the event forms. The FullCalendar configuration is also more mobile friendly.
brew install mysql Don't forget to secure your installation!
I like rbenv ( https://github.com/rbenv/rbenv ), but rvm works too
git clone https://github.com/JavaKoala/home_calendar.git
- gem install bundler
- bundle install
- cp config/database.yml.sample config/database.yml
- update database.yml to your database configuration
- bundle exec rake db:create
- bundle exec rake db:migrate
- bundle exec rake test
- bundle exec rails server
- go to http://localhost:3000 in a web browser to see the application