Skip to content

Commit

Permalink
Remove comments on examples
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexB52 committed Apr 20, 2024
1 parent e43010e commit 3f6c097
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Check out our [examples](/examples) to understand how the library creates Rails

## Installation & Usage

See some examples of how the UniRails library can be used
See some examples of how the UniRails library can be used. Running an example is a easy as `ruby filename.rb`

- [Hello world](/examples/hello-world.rb)
- [Todos app (JSON API)](/examples/todos-api.rb)
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-world.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Run the application
# $ ruby hello-world.rb

ENV['SECRET_KEY_BASE'] = 'my_secret_key_base'

Expand Down
2 changes: 0 additions & 2 deletions examples/server-falcon-app.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Run the application
# $ ruby server-falcon-app.rb

ENV['SECRET_KEY_BASE'] = 'my_secret_key_base'

Expand Down
2 changes: 0 additions & 2 deletions examples/server-puma-app.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Run the application
# $ ruby server-puma-app.rb

ENV['SECRET_KEY_BASE'] = 'my_secret_key_base'

Expand Down
2 changes: 0 additions & 2 deletions examples/stimulus-app.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Run the application
# $ ruby hello-world.rb

ENV['SECRET_KEY_BASE'] = 'my_secret_key_base'

Expand Down
2 changes: 0 additions & 2 deletions examples/todos-api.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Run the application
# $ ruby todos-api.rb

ENV['SECRET_KEY_BASE'] = 'my_secret_key_base'
ENV['DATABASE_URL'] = "sqlite3:///#{Dir.pwd}/todos-api.sqlite"
Expand Down
2 changes: 0 additions & 2 deletions examples/todos-hotwire.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Based on the Hotwire tutorial: https://www.colby.so/posts/turbo-rails-101-todo-list
# Run the application
# $ ruby todos-hotwire.rb

ENV['SECRET_KEY_BASE'] = 'my_secret_key_base'
ENV['DATABASE_URL'] = "sqlite3:///#{Dir.pwd}/todos-hotwire.sqlite"
Expand Down
2 changes: 0 additions & 2 deletions examples/todos-scaffold.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Run the application
# $ ruby todos-scaffold.rb

ENV['SECRET_KEY_BASE'] = 'my_secret_key_base'
ENV['DATABASE_URL'] = "sqlite3:///#{Dir.pwd}/todos-scaffold.sqlite"
Expand Down

0 comments on commit 3f6c097

Please sign in to comment.