Getting Started – is easy!!
StaticFrame is based on Node.js. So basic need is to have Node installed in your system. SASS is the preprocessor for CSS that we all love to work with. So you need to have SASS installed. The default way is to install Ruby on Rails, and install sass via gems. SASS auto compilation is carried out by a small piece of software called Compass. Make sure compass is available as command in your system. The details of the installation of Node, RoR and Compass given below.
Installation: Need 2 mins
Unpack the code in your favorite location. Preferably in projects folder. If you have node and sass already installed, then in your command line goto the project directory and run :
gem install compass
A grunt file is provided with basic set of automation work. Modify it according to your need.
The default setup provides the following functionality:
Default Actions :: Start Server and watch for modifications
Start Server, watch for modifications and open localhost in default browser
Report :: Generate JSHINT Report and open dev-jshint-report.html