Analytics and Monitoring dashboard for Dream
Note: Currently, this repository continues to be a work in progress after being integrated into the repository of ocaml.org (version 3).
💫 Integration PR for ocaml.org is here
👀 After the integation, it can be found in src/
in ocaml.org's repo, which is here
📊 Checkout the outlook from here
You need opam. You can install it by following opam's documentation.
With opam installed, you can install the dependencies in a new local switch with:
make switch
Or globally, with:
make deps
Then, build the project with:
make build
After building the project, you can run the server with:
make start
To start the server in watch mode, you can run:
make watch
This will restart the server on filesystem changes and reload the pages automatically.
You can run the unit test suite with:
make test
Documentation for the libraries in the project can be generated with:
make doc
The following snippet describes Dream Dashboard's repository structure.
.
├── example/
| Source for dream-dashboard's example. This links to the library defined in `lib/`.
│
├── lib/
| Source for Dream Dashboard's library. Contains Dream Dashboard's core functionalities.
│
├── test/
| Unit tests and integration tests for Dream Dashboard.
│
├── dune-project
| Dune file used to mark the root of the project and define project-wide parameters.
| For the documentation of the syntax, see https://dune.readthedocs.io/en/stable/dune-files.html#dune-project.
│
├── LICENSE
│
├── Makefile
| `Makefile` containing common development commands.
│
├── README.md
│
└── dream-dashboard.opam
opam package definition.
To know more about creating and publishing opam packages, see https://opam.ocaml.org/doc/Packaging.html.