31 lines
890 B
Markdown
31 lines
890 B
Markdown
# robur.coop
|
|
|
|
You can `pin` the project to download all required dependencies:
|
|
```sh
|
|
$ git clone https://git.robur.io/robur/robur.coop
|
|
$ cd robur.coop
|
|
$ opam pin add -y .
|
|
```
|
|
|
|
Then, you can execute `watch` to generate a local version of the website
|
|
(on `http://localhost:8888/`):
|
|
```sh
|
|
$ dune exec src/robur.exe -- watch
|
|
```
|
|
|
|
The website will be generated (by default) into the `_site` directory. The
|
|
design and the layout come from a simple execution of what rabotnik.coop gave
|
|
to us with `php`:
|
|
```sh
|
|
$ cd robur-rabotnik/
|
|
$ php index.php > index.html
|
|
$ php about_us.php > abous_us.html
|
|
$ ...
|
|
```
|
|
|
|
The _template_ engine uses [Jingoo][jingoo] and the project uses
|
|
[YOCaml][yocaml]. An example is available here: [blog.osau.re][blog.osau.re]
|
|
|
|
[jingoo]: https://github.com/tategakibunko/jingoo
|
|
[yocaml]: https://github.com/xhtmlboi/yocaml
|
|
[blog.osau.re]: https://github.com/dinosaure/blogger
|