Skip to content

Usage of daru-view ruby gem in different Ruby web applications : Rails, Sinatra, Nanoc, Hanami

Notifications You must be signed in to change notification settings

johncallahan/demo_daru-view

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

  • To run rails app (here demo_rails contains the rails application) do :
rake run_app:rails

  • To bundle install in a folder(e.g. demo_rails) :
rake run_app:bundle_install['demo_rails']

  • To bundle update in a folder(e.g. demo_rails) :
rake run_app:bundle_update['demo_rails']

  • To bundle exec rails s in a folder(e.g. demo_rails) :
rake run_app:rails_server['demo_rails']

Note: Actually rake run_app:railscalls the bundle_install, bundle_update,rails_server .

  • To run nanoc web app :
rake run_app:nanoc

  • To bundle exec nanoc compile in a folder(e.g. demo_nanoc) :
rake run_app:nanoc_compile['demo_nanoc']

  • To bundle exec nanoc view in a folder(e.g. demo_nanoc) :
rake run_app:nanoc_server['demo_nanoc']

Note: Actually rake run_app:nanoccalls the bundle_install, bundle_update,nanoc_compile,nanoc_server .

  • To bundle exec ruby app.rb in a folder(e.g. demo_sinatra) :
rake run_app:sinatra_server

  • To run sinatra app,which is in demo_sinatra :
rake run_app:sinatra

Note: Actually rake run_app:sinatracalls the bundle_install, bundle_update,sinatra_server .

About

Usage of daru-view ruby gem in different Ruby web applications : Rails, Sinatra, Nanoc, Hanami

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 55.0%
  • Ruby 41.2%
  • CSS 3.5%
  • Other 0.3%