Skip to content

Commit

Permalink
chore: use folders per sample and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Jun 28, 2024
1 parent b2d6b5b commit a855425
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,31 @@ This launches a Sinatra server that responds at:
* http://127.0.0.1:4567
* http://127.0.0.1:4567/api
== Prequisites

For all Tebako steps, please first run in a pristine environment:

[source,sh]
----
$ tebako clean
$ tebako setup
----

== Sinatra

Running without Tebako:

[source,sh]
----
bundle install
bundle exec ruby app.rb
$ cd sinatra
$ bundle install
$ bundle exec ruby app.rb
----

Command for tebako:
Packaging with Tebako:

[source,sh]
----
tebako press -e app.rb -o sample.tebako -r ./
$ cd sinatra
$ tebako press -e app.rb -o sample.teb -r ./
----
File renamed without changes.
File renamed without changes.

0 comments on commit a855425

Please sign in to comment.