JavaKoala / home_calendar

Home Calendar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

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.

OSX Development Setup

Install homebrew

https://brew.sh

Install Mysql

brew install mysql Don't forget to secure your installation!

Install Ruby version 2.7.1

I like rbenv ( https://github.com/rbenv/rbenv ), but rvm works too

Clone the repository

git clone https://github.com/JavaKoala/home_calendar.git

Application setup (in the folder with the application)

  1. gem install bundler
  2. bundle install
  3. cp config/database.yml.sample config/database.yml
  4. update database.yml to your database configuration
  5. bundle exec rake db:create
  6. bundle exec rake db:migrate
  7. bundle exec rake test
  8. bundle exec rails server
  9. go to http://localhost:3000 in a web browser to see the application

About

Home Calendar

License:MIT License


Languages

Language:Ruby 77.3%Language:HTML 13.1%Language:JavaScript 6.0%Language:Dockerfile 2.6%Language:SCSS 1.1%