mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Update README.md
This commit is contained in:
parent
fd904cd98d
commit
5b51cc8ea7
1 changed files with 4 additions and 2 deletions
|
@ -23,12 +23,14 @@ end
|
||||||
ws "/socket" do |socket|
|
ws "/socket" do |socket|
|
||||||
socket.send "Hello from Kemal!"
|
socket.send "Hello from Kemal!"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Kemal.run
|
||||||
```
|
```
|
||||||
|
|
||||||
Build and run!
|
Start your application!
|
||||||
|
|
||||||
```
|
```
|
||||||
crystal run src/kemal_sample.cr
|
crystal src/kemal_sample.cr
|
||||||
```
|
```
|
||||||
Go to *http://localhost:3000*
|
Go to *http://localhost:3000*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue