README.md 1023 Bytes
Newer Older
Dario Pinto's avatar
Dario Pinto committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# www.ocamlpro.com

Hello team,

This project is the to-be replacement website for the current [one](https://www.ocamlpro.com/)

Its functionning is quite simple in regards to the Wordpress architecture of the previous one.

Its backend is handled by the [Dream](https://github.com/aantron/dream) Library and all of its pages are written in Markdown and HTML and converted with the [Omd](https://github.com/ocaml/omd) Library.

The only style component present is the CSS framework called [Bootstrap](https://getbootstrap.com/docs/5.0/examples/cheatsheet/) that makes it very easy to add and tweak stylistic choices.

# Usage

To run the website locally simply run the following command line.

```shell
  dune build @all && dune exec -- src/server.exe
```

Next, you should see the following lines appear in your terminal:

```shell
<date> <time> Running at http://localhost:8080
<date> <time> Type Ctrl+C to stop
```

Your shell should allow to click the link, otherwise copy/paste it in your favourite internet browser.