Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michaeltelford/sinatra_reference_project

Sinatra reference project for cloning, forking and learning
https://github.com/michaeltelford/sinatra_reference_project

dotenv ruby sinatra slim sprockets

Last synced: about 8 hours ago
JSON representation

Sinatra reference project for cloning, forking and learning

Awesome Lists containing this project

README

        

# Sinatra Reference Project

Reference web app built using the Sinatra web development framework.

Use this repo as a way to learn or fork the repo as a starting point for other Sinatra projects.

## Configured tech

- `sinatra` web app (pre-configured)
- `rake` tasks for running the app
- `thin` web server
- `slim` templating engine
- `sprockets` for asset management (using SCSS and CoffeeScript)
- `sprockets-helpers` for asset retrieval
- `dotenv` for loading of `.env` vars into `ENV`

## Usage

Install the deps with:

$ bundle

Run the application server and browse to it with:

$ bundle exec rake browse

Run the tests with:

$ bundle exec rake test

See the rake tasks for more usage commands with:

$ bundle exec rake -T