Please read carefully the instructions before excuting the commands:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
PATH="$HOME/.linuxbrew/bin:$PATH"
echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >>~/.bash_profile
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install ocaml
brew install opam
opam init
eval `opam config env`
opam install ocamlfind
opam install ounit
cd project_directory
make
./public.native