This is a JavaScript project skeleton.
TODO: This project doesn't have any working code yet.
- Run
rake
to build SampleProject. Two builds will be placed in thedist/
directory.
sampleproject.js
andsampleproject.min.js
- unminified and minified builds.
If you are building under Linux, you will need a JavaScript runtime for
minification. You can either install nodejs or gem install therubyracer
.
This project Jasmine for BDD testing.
-
Install Ruby 1.9.2+. There are many resources on the web can help; one of the best is rvm.
-
Install Bundler:
gem install bundler
-
Run
bundle
inside the project root to install the gem dependencies. -
Run
bundle exec rakep
to build the tests and copy the necessary files intotests/source
-
To start the development server, run
bundle exec rackup
. -
Then visit:
http://localhost:9292/tests/index.html
.