Skip to content

One way to do sinatra modules with unicorn - based on our homepage implementation

License

Notifications You must be signed in to change notification settings

blazingcloud/sinatra-with-unicorn

Repository files navigation

Sinatra Unicorn Template

---

Conventionally this is organized as follows

Sinatra Modules go in

./modules/module_name.rb

Sinatra Module Views go in

./modules/module_name/views

Example

./modules/site.rb
./modules/site/views/main.erb
./modules/site/views/layout.erb

---

Public Assets directory is public/

public/
is served as /

---

to run specs

rake

---

to run it locally:

    bundle
    foreman start


About

One way to do sinatra modules with unicorn - based on our homepage implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages