Outline of the workshop.
Clone the repository, use dev container. Open the terminal, and UTop!
Clone https://github.com/sabine/ocaml-blog-tutorial. Install the dev container VSCode extension: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers.
CTRL+SHIFT+P "Dev Containers: Open Folder in Container"
Open https://staging.ocaml.org/docs/a-tour-of-ocaml and go through it.
- 1st hour
- 15min - fp_examples.ml
- 45min - Tour of OCaml with utop in the dev container -
- 2nd hour: starting from the hello world example in this repo, we build a very simple blog
- break 15min
- run the hello world example
- do step by step project from the folders
- 3rd hour:
- represent the blog post as OCaml datatype
- load the blog post from a markdown file
- render a HTML template that lists all blog posts