Giter Club home page Giter Club logo

old.ocsigen.org's Introduction

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.

old.ocsigen.org's People

Contributors

hnrgrgr avatar benozol avatar hhugo avatar balat avatar vouillon avatar aantron avatar drup avatar kit-ty-kate avatar chambart avatar ccharly avatar

Stargazers

Sora Morimoto avatar Alain Armand avatar Danny Willems avatar Thomas Gazagnaire avatar

Watchers

Thomas Gazagnaire avatar Abigael avatar Calascibetta Romain avatar  avatar Raphaël Proust avatar  avatar  avatar James Cloos avatar Baptiste Strazzulla avatar Julien Sagot avatar  avatar  avatar Benjamin Canou avatar Autobuilder for the Ocsigen project avatar Danny Willems avatar  avatar Philippe Wang avatar Léo Valais avatar  avatar

old.ocsigen.org's Issues

Several jsoo toplevel examples are broken

  • Async_kernel yields the error
Error: Corrupted compiled interface
/cmis/core_kernel.cmi
  • Graphics: Draw chars yields a Syntax erroron the use of loop
  • Graphics: Draw yields a Syntax erroron the use of loop

Graffiti

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.

  • http://ocsigen.org/ : on the left, there is still a news from 2013 announcing a now tutorial. However, the link leads to a non existent page. The following remarks will be with respect to the tutorial itself, here: http://ocsigen.org/tuto/4.2/manual/application
  • Unless I missed something, the final eliom code provided at the very beginning does not compile with a complete installation as provided on the site. Indeed, it requires ocsigen-widgets which does not seem to be distributed. At least it is not reffered to here: http://ocsigen.org/install . Note also that on this last page, there is a small bug at the end: the list of packages goes out of the box, and a «>> syntax error in wikisyntax» appears.
  • In chapter Collaborative Drawing Application, we are to «add» the iteration over the bus at the end of function init_client. However we cannot add the line directly, since we still need to react to mouse clicks. I probably am quite stupid here, but the way to combine both events seems non trivial to me for people discovering the language and would suggest to make it more explicit.
  • The final version of the code at the bottom of the page is a dead link. A working, minimal version of the project here would be welcome.

Best,
Yannick

Site appears to be down

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.

rename repo to `ocsigen.org`

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 a blog feed

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.

/install out of date

http://ocsigen.org/install

Common to all /install and other sub-pages:

  • The 'Je Suis Charlie' banner overflows into the main content area -- compare with oscigen.org home page (tried Firefox and Chromium)

Fix CSS for client api

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.

make section titles larger

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.

ocsigen.org is down

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! :)

New design.

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.

New infrastructure

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.

make html title correspond to module name

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".

Markup displayed in the Lwt_unix documentation

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~. >> *)

Broken link between parts of ocsigen.org site

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... :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.