Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Sinatra + AngularJS + Sprockets

Application skeleton using Sinatra, AngularJS, and Sprockets.

Installation

git clone https://github.com/rapind/sinatra-angular-sprockets-seed.git shiny-new-app
cd shiny-new-app
bundle
rm -rf .git
git init .
git add .
git commit -am "Initial Commit"

Running

rackup

LiveReload via Guard

There's a guard task included that you can run in a seperate or background shell which will auto-reload your browser whenver you change a file. You'll need to install a LiveReload browser extension. I.e. https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei?hl=en

guard

Deploying Assets

Depending on how you're deploying your app, you will probably want to precompile your assets locally.

Assets can be precompiled into the public directory via rake task:

rake assets:precompile

Assets can be cleaned (removed) from the public directory via rake task:

rake assets:clean

About

Web application skeleton using Sinatra, AngularJS, and Sprockets.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.