With Storyscript, we got it done in under 4 minutes and 4 lines of code.
(Updated) Sad the the tweet was deleted...because some of the answers were half a days work using terminal, git and containers.
With Storyscript, we got it done in under 4 minutes and 4 lines of code.
(Updated) Sad the the tweet was deleted...because some of the answers were half a days work using terminal, git and containers.
| # Simple website that displays it's hit counter | |
| @count = 0 | |
| when http server listen path:"/" as req | |
| x = @count increment | |
| req write content:"This page has been loaded {x} times." |