Joosy 1.2: Feather
Master branch is currently totally incompatible with the stable 1.1 and 1.0 branches. 1.2 features total restructuring of the way we build the gem and the way you are supposed to include it.
To keep things working please use either
gem 'joosy', '~> 1.1.0'
gem 'joosy', github: 'joosy/joosy', branch: '1.1'
Whatever! I'm ninja!
Below in this README you will find new installation instructions. They are still very likely to change or work not as expected while 1.2 branch is still early alpha.
Keep track on what's going on at the Wiki
What is Joosy
Joosy allows you to create web apps which work completely in the browser. So that, it helps you to relocate all your Rails Views to the client side. It also helps you with managing the growing quantity of JS code. On another hand, it makes your backend to have exactly one function – to be a simple REST provider. That leads to easier development support and improves the scalability greatly.
Finally, Joosy boosts your development drastically. Just like the Rails framework does.
Jump in with Rails
Add Joosy gem to your Gemfile:
gem 'joosy-rails', '~> 1.2.0'
Using built-in generators you can quickly generate small app inside your Rails app to see Joosy application from inside a bit.
rails g joosy:application dummy
Now you can run
rails s to get Joosy placeholder at localhost:3000/dummy. Generated application will consist of one
Layout and one
Page both including very basic practices of Joosy.
Jump in with Sinatra
Make sure you have Node.js installed. Install joosy package globally to start with:
npm install joosy -g
Now run basic application generator with the following command:
joosy new dummy
The main application code will appear at
stylesheets is for Stylus-based styles and the main canvas of page is defined at
source/index.haml. Now you can
grunt joosy:server to start development server at localhost:4000/.
To generate assets statically prior to the deployment run
Your assets will appear at
- Ensure you have Node.js available on your system
- Clone the project
npm installto get required Node modules
bower installto get require JS components
grunt testto run specs once
gruntto watch sources (automatic changes compilations) and run test-server (get your browser to http://localhost:8888/)
While current repository is, at the same time: NPM package, Ruby gem and Bower component – the main Core environment is Node.js.
- Boris Staal (@_inossidabile)
- Andrew Shaydurov (@ImGearHead)
- Alexander Pavlenko (@alerticus)
- Peter Zotov (@whitequark)
It is free software, and may be redistributed under the terms of MIT license.