https://github.com/chrisvfritz/holidays_form
This is a simple Sinatra app to demonstrate how the holidays form project in TC359 might be completed by a professional Ruby web developer.
https://github.com/chrisvfritz/holidays_form
Last synced: about 2 months ago
JSON representation
This is a simple Sinatra app to demonstrate how the holidays form project in TC359 might be completed by a professional Ruby web developer.
- Host: GitHub
- URL: https://github.com/chrisvfritz/holidays_form
- Owner: chrisvfritz
- Created: 2015-03-14T23:35:18.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-16T01:14:20.000Z (about 10 years ago)
- Last Synced: 2025-01-07T08:35:47.766Z (3 months ago)
- Language: Ruby
- Homepage: http://tc359-holidays-form.herokuapp.com/
- Size: 203 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Holidays Form App
[](https://travis-ci.org/chrisvfritz/holidays_form) [](https://codeclimate.com/github/chrisvfritz/holidays_form) [](https://codeclimate.com/github/chrisvfritz/holidays_form) [](https://gemnasium.com/chrisvfritz/holidays_form) [](http://tc359-holidays-form.herokuapp.com/)
This is a simple Sinatra app to demonstrate how the holidays form project in TC359 might be completed by a professional Ruby web developer. The `master` branch contains the most advanced version of the app. For those looking for smaller steps to improve your app, check out the [`lazy_basic`](https://github.com/chrisvfritz/holidays_form/tree/lazy_basic) and [`lazy_mega`](https://github.com/chrisvfritz/holidays_form/tree/lazy_mega) branches. As you look through the code, read the comments for explanations as to what's happening and why I've done things this way.
## Questions?
If you have questions, [open a new issue](https://github.com/chrisvfritz/holidays_form/issues/new) and I'd be happy to explain any aspect of this project in more detail.
## Run locally
Clone the repo:
``` bash
git clone https://github.com/chrisvfritz/holidays_form.git
cd holidays_form
```If you don't have Ruby 2.2.0 installed, you can just delete `ruby '2.2.0'` from the Gemfile, but the application has only been tested with this version. If you want to install Ruby 2.2.0, you can:
``` bash
rbenv install 2.2.0 # for rbenv
# OR
rvm install ruby-2.2.0 # for rvm
```And finally, to run the server:
``` bash
bundle install
bundle exec shotgun
```