Skip to content

amusick-endava/sinatra-angular-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published