Update tutorial.md
This commit is contained in:
parent
e4c6b12411
commit
da4e38ab0f
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ cd awesome_web_project
|
||||||
|
|
||||||
Then add *kemal* to the `shard.yml` file as a dependency.
|
Then add *kemal* to the `shard.yml` file as a dependency.
|
||||||
|
|
||||||
```
|
```yml
|
||||||
dependencies:
|
dependencies:
|
||||||
kemal:
|
kemal:
|
||||||
github: sdogruyol/kemal
|
github: sdogruyol/kemal
|
||||||
|
@ -35,7 +35,7 @@ shards install
|
||||||
|
|
||||||
Open `awesome_web_project/src/awesome_web_project.cr` and require `kemal` to use Kemal.
|
Open `awesome_web_project/src/awesome_web_project.cr` and require `kemal` to use Kemal.
|
||||||
|
|
||||||
```
|
```ruby
|
||||||
require 'kemal'
|
require 'kemal'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ require 'kemal'
|
||||||
|
|
||||||
Do some awesome stuff with awesome Kemal.
|
Do some awesome stuff with awesome Kemal.
|
||||||
|
|
||||||
```
|
```ruby
|
||||||
get "/" do
|
get "/" do
|
||||||
"Hello World!"
|
"Hello World!"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue