Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/orangewise/sprockets_standalone


https://github.com/orangewise/sprockets_standalone

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# Sprockets Standalone

Using Sprockets and AssetSync standalone, so it can be used in combination with a PHP website :)

Based on http://www.simonecarletti.com/blog/2011/09/using-sprockets-without-a-railsrack-project/

# Usage

bundle exec rake sprockets:compile environment=dev

or

bundle exec rake sync:assets environment=dev

# Directory structure

.
├── sprockets_standalone
| └── config
| └── asset_sync.yml
| ├── Gemfile
| ├── Gemfile.lock
| └── Rakefile
└── assets
├── dev
| └── build
│ ├── javascripts
│ │ └── all.js
│ └── stylesheets
│ └── all.css
├── test
| └── build
| ├── ...
| .
├── production
| └── build
| ├── ...
| .
└── src
├── images
│ └── ...
├── javascripts
│ └── all.js
| └── jquery
| └── jquery-1.10.2.min.js
└── stylesheets
└── all.css

# Example all.js

//= require jquery/jquery-1.10.2.min




# Example all.css

/*
*= require bootstrap/index
*/