Install Ocsigen

This tutorial seems to indicate that opam install ocsigen-start should be sufficient. Did you get it to work ?

If not could you please report the output of

opam install ocsigen-start
type eliom-distillery
echo $PATH
ls $(opam config var bin)/eliom-distillery
2 Likes

I confirm that eliom-distillery comes with the eliom package and not via a separate one. ocsigen-start depends on eliom, and thus eliom-distillery must be available already. So it must be a $PATH issue.

3 Likes

Indeed a problem with the PATH !

It works !

Thanks to all people who helped me !

2 Likes

Thank you very much for you help

1 Like

But when I do

http://localhost:8080/

or

http://localhost:8080/myapp

i receive

This site can’t be reached

localhost refused to connect.
Search Google for localhost 8080 myapp
ERR_CONNECTION_REFUSED

with google chrome on xenial

@mico you need to provide details and the invocations you actually perform if you want people to be able to help you.

I just opened google chrome and typed an adress after a successful completion of

eliom-distillery -name myapp -template os.pgocaml

You have only instantiated the Ocsigen Start template, but you have not yet compiled your project.

Please follow the instructions in myapp/README.md.

Indeed ! Sorry ! I missed this step !

Now it works !

Thank you very much for your patience.

1 Like