ocsigen / old.ocsigen.org Goto Github PK
View Code? Open in Web Editor NEWThe old http://ocsigen.org/ website.
The old http://ocsigen.org/ website.
To run the ocsigen website site localy: * Replicate the ocsigen.org database or setup a connection with the database of 'ocsigen-build'. (See below) * Compile and install eliom, ocsimore and ocsforge. * In Makefile.local adjust OCSIMORE_STATIC to the path of your ocsimore statis files directory (it's usually /var/www/ocsimore or local/var/www/static in the source of ocsimore) * {{{make run.local}}}. Default port is 8080. * If something fails {{{make distclean}}} === Setup an ssh tunnel with the database of 'ocsigen-build' In .ssh/config: Host ocsigen-build ProxyCommand ssh ocsigen.org nc -q 0 %h %p LocalForward 5433 localhost:5432 Then extend in your environment with: export PGHOST=localhost export PGPORT=5433 You may add those variables in 'Makefile.local' and in the bundle's 'Makefile.local. To test the tunnel, run: psql -U ocsimore ocsimore === Duplicating the database On ocsigen.org: pg_dump -U ocsimore ocsimore > db.dump On your host: sudo -u postgres dropdb ocsimore sudo -u postgres createdb -E UTF-8 -T template0 -O ocsimore ocsimore createlang -U ocsimore plpgsql ocsimore psql -U ocsimore ocsimore -f db.dump === FAQ - A "Not_found exception" is uncatched when I launch the server. You're database doesn't contain the projects' wiki (eliom,...). They are "hardcoded" in src/site_doc.ml until the "documentation wiki extensions" are merged into ocsforge.
Error: Corrupted compiled interface
/cmis/core_kernel.cmi
Syntax error
on the use of loop
Syntax error
on the use of loop
Dear all,
I gave a shot to the Graffiti tutorial and wanted to get back to you with a few various remarks, I hope it fits here.
Best,
Yannick
Seeing
Internal Server Error
Error 500
Unix.Unix_error(Unix.EPIPE, "write", "")
(Ocsigen running in debug mode)
Originally reported by @keyansol in ocsigen/lwt#331.
ttps://ci.inria.fr/ocsigen/
I recommend renaming the repo to ocsigen.org
. It is common practice for the name of a repo, which implements a website, to be the URL of that website. For example: ocaml.org and biocaml.org. The name site
is too generic.
Is there an RSS or Atom feed for the news on ocsigen.org? I think Ocsigen could benefit a lot from more blog posts. There is currently too little material to help people get started or to even know what it is all about.
Bonjour,
Tous les tests du manuel sur le site ocsigen pointent vers le serveur http://tests.ocsigen.org qui ne répond même pas aux pings...
For external links in the tutorials there is an icon (https://ocsigen.org/resources/icons/external_link-ocsigen.png). In my browser (Firefox 45.3.0) it is displayed with a size of 1600x1124 pixels. I don't understand why though.
When I visit the https://ocsigen.org/js_of_ocaml/ page, I think understand that Tyxml_js depends reactiveData is quite complex.
Perhaps ReactiveData should be documented on the page (instead of github.io) and ReactiveData an js_of_ocaml.tyxml dependency.
Thank you for your work!
Waiting for a HTTP response forever on http://ocsigen.org/
Common to all /install and other sub-pages:
To make pull requests on documentation easier to do.
See text This is client API (go to server)
on there. It has white font color on yellow background. My eyes are flowed out and can't flow in back.
Not sure what's the issue is .... http://ocsigen.org/
Ocamldoc section titles are in rather small font, smaller even than the main body font. They are barely visible. I recommend increasing the font size.
Sur ce tuto : https://ocsigen.org/eliom/manual/server-links , il est écrit "Eliom_content.Html5.D.a takes as first parameter the service you want to link to. The third parameter is the text of the link. The last parameter is for GET parameters you want to put in the link."
Le libellé du lien devrait être le second paramètre, et non pas le troisième !
Hi, just want to notify that currently the ocsigen.org site cannot be accessed, returning ERR_CONNECTION_REFUSED
on Chrome. Sorry if you're already aware of it! :)
The design of the website is very outdated (not responsive, information is hard to find, etc).
It's crucial to attract people. People may think the project is outdated as the website design is outdated.
https://ocsigen.org/lwt/dev/api/Ppx_lwt :
Error
Ocaml_lexer.Error(_, _)
Ocisgen running in debug mode
on the left panel.
Broken link to opam file at http://ocsigen.org/js_of_ocaml/2.8.4/manual/overview
http://ocsigen.org/howto is partially out of date, repeats parts of the items of the "howto" list of http://ocsigen.org/tuto/6.1/manual/ , and (@Drup tells me) is not versionned.
In page https://ocsigen.org/howto/compile there is a link toward https://ocsigen.org/eliom/manual/client-compiling#h5o-2 and this ends up with a page not found error...
In multiple function description the string Error a_api: "bounded_push" is not a valid module name
is used instead of a correct type/value.
It's not obvious enough, when one is on https://ocsigen.org/tuto/, that they have to click on manual to go to the more interesting page https://ocsigen.org/tuto/manual/ !
The current site infrastructure is hard to maintain. It would be nice to migrate to mostly static content.
I think our discussions converge on a modern Bootstrap-style homepage that points to the relevant places. We can take ocaml.org as an inspiration. I personally think that we should just point ocsigen.org
to what is now ocsigen.github.io
, and use GitHub Pages (basically Jekyll) for almost everything. If we decide to do so, it will be trivial to integrate the blog posts and hence ensure that ocsigen.org
feels active.
The big obstacle is the current manual/tutorial/API documentation that use wikidoc
syntax. In principle, we could implement static infrastructure for these that retains the existing functionality (e.g., trans-project links). But that would involve maintaining a new tool with questionable usefulness outside Ocsigen. In the spirit of simplifying our workflow, I would personally prefer just using Ocamldoc/odoc functionality for the API doc (with manual strategically-placed links where needed), and an one-off translation of the manuals and the more important tutorials to a simpler format (e.g., markdown
). Given static docs, we can either put them in GitHub pages or in dedicated docs infrastructure like Read the Docs.
The hello world howto was not updated wrt to Eliom 4. I'll gladly do it if someone tell me in which project the change should be done!
Opam switch beta does not work.
Do you know why? What did you expect to do with this version?
Is it using cohttp? Is it dur to a change in cohttp or a bug in ocsigenserver/cohttp?
@dinosaure @hhugo
The html title tag for pages is always the main project name, e.g. Lwt or Js_of_ocaml. It would be helpful to make the title unique for each page, especially API doc pages. For example, the http://ocsigen.org/lwt/api/Lwt_stream
page should be titled "Lwt_stream" instead of "Lwt".
Most browsers provide this title in their tabs. This change would make it easier to keep multiple tabs open to different documentation pages. Right now I just have lots of tabs all named "Lwt".
See for instance on http://ocsigen.org/lwt/2.5.1/api/Lwt_unix the documentation for the async_method
type:
type async_method =
| Async_none
(* <<div class="odocwiki_info"|~System calls are made synchronously~, and may block the entire program~. >> *)
| Async_detach
(* <<div class="odocwiki_info"|~System calls are made in another system thread~, thus without blocking other ~Lwt threads~. ~The drawback is that it may degrade performance in some cases~. ~This is the default~. >> *)
| Async_switch
(* <<div class="odocwiki_info"|~System calls are made in the main thread~, and if one blocks the execution continue in another system thread~. ~This method is the most efficient~, also you will get better performance if you force all threads to run on the same cpu~. ~On linux this can be done by using the command <<span class="odocwiki_inlinecode"|taskset>>~. ~Note that this method is still experimental~. >> *)
Dans la page du tuto client server ( https://ocsigen.org/tuto/manual/tutowidgets ), le fait que les boîtes avec écrit "click me" soient une capture d'écran ( https://ocsigen.org/tuto/files/tutorial/tutowidgets/ex-final.png ) n'est pas clair du tout. Il faudrait soit mettre avant un titre explicitant qu'il s'agit d'un exemple du résultat final, soit directement mettre l'exemple que le tuto va s'évertuer à expliquer !
If you go to this page : https://ocsigen.org/howto/img and click on "external service" (at the end, just before "download full code") the page will say "not found". I guess the "manual" and "howto" are not handled by the same ocsigen server, but why so? It would be good for the ocsigen website to have no internal broken links in order to demonstrate the usefulness of eliom services! This is but one example of broken links within ocsigen.org website... :(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.