Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

volkert/spinebox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spinebox

A ready to use spine.js rack skeleton builder with development server, routes, config and precompile support.

  • Ideal for single or few page applications
  • Fully setup, ready to go spine.js environment
  • Develop in coffee-script and sass with fantastic sprockets asset serving
  • Use generators and scaffolding just like with rails
  • Compile assets and serve the whole app completely static

Installation

$ gem install spinebox

Usage

Create new project

# Create new project an start developing
$ spinebox new blog
$ cd blog
$ spinebox server
$ open http://localhost:3000/index.html

Generate models, views and controllers

# Generate a model view and a controller
$ spinebox generate model post title author body
$ spinebox generate controller posts
$ spinebox generate view post

Scaffold

# Or scaffold all three of them
$ spinebox scaffold post title author body

Compile project

# Compile project for static serving
$ spinebox compile

Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am ‘Added some feature’`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

About

A ready to use spine.js rack skeleton builder with development server, routes, config and precompile support

Resources

License

Stars

Watchers

Forks

Packages

No packages published