Warning Nightmare is still Work In Progress.
A set of components that fit, in theory, relatively well with the web framework (OCaml) Dream to try to build quickly and as best as possible dynamic web applications.
Nightmare was very much inspired by the development of Muhokama, a forum written in OCaml which had many of its components imported directly into Nightmare. The set of ideas implemented in this "adhoc framework" comes from different sources of inspiration which we will try to list meticulously in an appropriate section.
Even though the framework is intended to be as agnostic as possible, it has been designed to blend in naturally with Dream, hence the library's name.
Setting up a development environment is quite straightforward. We recommend setting up a local switch to collect dependencies locally. Here are the commands to enter to initialize the environment:
opam update
opam switch create . ocaml-base-compiler.5.0.0 --deps-only -y
eval $(opam env)
After initializing the switch, you can collect the development and project
dependencies using make
:
make dev-deps
make deps
Now you should be able to easily start contributing to Nightmare.
Note If you are not using GNU/Make (or equivalent), you can refer to the Makefile and observe the
dev-deps
anddeps
rules to get the commands to run.