Skip to content

vixlima/base_app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

base_app

Template for Rails 3.0 apps

Usage

rails new app -m github.com/danielvlopes/base_app/raw/master/template.rb

Public folder strategy

public/javascripts
|-- README.md
|-- admin
| |-- date.js
| `-- datePicker.js
|-- common
| |-- application.js
| |-- jquery-1.3.2.js
| |-- jquery-ui-1.5.3.js
| |-- jquery.facebox.js
|-- superfolio
| |-- _plugins
| | |-- jquery.autocomplete.js
| | `-- jquery.truncate.js
| | `-- jquery.superfolio.toggle.js
| |-- application.js
| |-- blob.js
  `-- commit.js
  • It allows to namespace specific files to specific layouts (admin, superfolio, etc) and share files between apps (common).

  • I can lay out files however I want within each of these namespaces, and reorganize them at will.

  • All jquery plugins should have jquery. and app specific plugins should be jquery.appname.pluginame.

License

This project is released under the MIT License, including all CSS and design stuffs.

Copyright © 2010 Daniel Lopes. See LICENSE for details.

About

base template for rails app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 92.5%
  • JavaScript 7.5%