https://github.com/eltonsantos/basic-sinatra
A simple application with Sinatra using Rspec and Guard.
https://github.com/eltonsantos/basic-sinatra
foreman guard guard-rspec json rack rspec sinatra terminal-notifier
Last synced: 3 months ago
JSON representation
A simple application with Sinatra using Rspec and Guard.
- Host: GitHub
- URL: https://github.com/eltonsantos/basic-sinatra
- Owner: eltonsantos
- Created: 2017-01-30T05:16:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-09T05:24:44.000Z (over 8 years ago)
- Last Synced: 2025-01-11T09:40:19.341Z (9 months ago)
- Topics: foreman, guard, guard-rspec, json, rack, rspec, sinatra, terminal-notifier
- Language: Ruby
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic Sinatra
Simple application with Sinatra using Rspec and Guard.
## Dependencies
- Ruby 2.3.3 version
- Rspec 3.5.0 version
- Sinatra 1.4.8 version
- Sinatra-contrib 1.4.7 version
- Guard 2.14.1 version
- Guard-livereload 2.5.2 version
- Guard-rspec 4.7.3 version
- Rack 1.6.5 version
- Rack-test 0.6.3 version
- Rack-livereload 0.3.16 version
- Foreman 0.83.0 version
- Json 1.8.3 version
- Terminal-notifier-guard 1.7.0 version## Installation
On terminal:
1. `git clone git@github.com:eltonsantos/basic-sinatra`.
2. `cd basic-sinatra`.
3. Case have rvm it will prepare the environment, case doesn't have install it just continue.
4. `bundle install`.
5. run `foreman start`.## Usage
In your browser access `localhost:5000`.
Install [terminal-notifier-guard](https://github.com/Codaisseur/terminal-notifier-guard) for show message automatically on system. The messagens will appear automatically when change any .erb, .css, .js, spec_ and others. This can be configured in Guardfile of application.## Test
For test was used Rspec.
1. Should load the home page ok
2. Should not load the home page
3. Should load the other page## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/eltonsantos/basic-sinatra.