tamatebako / tebako-samples

1 stars 0 forks source link

= Tebako sample applications

This repository provides sample applications to demonstrate usage of Tebako.

Right now there is only one sample.

This launches a Sinatra server that responds at:

== Prequisites

Before using Tebako, please first setup prerequisites as described in tebako README https://github.com/tamatebako/tebako

== Sinatra

Running without Tebako:

[source,sh]

$ cd sinatra $ bundle install $ bundle exec ruby app.rb

Packaging with Tebako:

[source,sh]

tebako press -e app.rb -o sample.tebako -r sinatra

Note: please do not package "in-place" like [source,sh]

tebako press -e app.rb -o sample.tebako -r ./

Tebako includes all files starting from the root folder into package and packaging "in-place" will force endless recursive inclusion of the package into itself.