-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathinstall.html
More file actions
116 lines (107 loc) · 7.53 KB
/
Copy pathinstall.html
File metadata and controls
116 lines (107 loc) · 7.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>Installing Ocsigen — Ocsigen</title>
<meta property="og:image" content="https://ocsigen.org/img/ocsigen-badge-400.png"/>
<link rel="stylesheet" href="/css/style.css"/>
<link rel="stylesheet" href="/css/ocsigen-odoc.css"/>
<link rel="stylesheet" href="/css/wodoc.css"/>
<link rel="alternate" type="text/markdown" href="/install.md"/>
</head>
<body class="odoc wodoc-page">
<!-- Shared site menu — THE single source of truth for the header, top menu and
drawer of EVERY Ocsigen doc page (vitrine + all projects). Canonical copy
lives here in ocsigen.github.io; each project's build fetches it. Injected
by `wodoc assemble --menu`. Holes filled by the tool (braces omitted here so
this comment is not itself rewritten by the hole-filler):
subproject the sub-project name shown next to the Ocsigen logo
(empty on the vitrine), via --subproject
leftnav the project's left navigation, expanded into BOTH the mobile
drawer (below) and the left column (in the page template),
via --leftnav
The current entry is highlighted by adding the `current` class to the
element carrying data-wodoc-page=<id>: --current on the vitrine (page id),
--menu-current in a project (the project id). Nothing is hardcoded here, so
this file is the ONLY place the menu is defined.
Links are the FINAL site paths (/<project>/, /<page>): the target layout
where each project is served at ocsigen.org/<project>/ — no transitional
/wodoc/ prefix. -->
<div class="page-header">
<p class="logo-ocsigen"><a href="/"><img src="/img/ocsigen-white.svg" alt="Ocsigen"/></a></p>
<div class="mainmenu">
<p class="mainmenu-home current" data-wodoc-page="githubio"><a href="/">Home</a></p>
<p class="mainmenu-doc" data-wodoc-page="tuto"><a href="/tuto/">Doc</a></p>
<p class="mainmenu-blog" data-wodoc-page="blog"><a href="/blog/">Blog</a></p>
<p data-wodoc-page="eliom"><a href="/eliom/">Eliom</a></p>
<p data-wodoc-page="js_of_ocaml"><a href="/js_of_ocaml/">Js_of_ocaml</a></p>
<p data-wodoc-page="ocsigenserver"><a href="/ocsigenserver/">Server</a></p>
<p data-wodoc-page="lwt"><a href="/lwt/">Lwt</a></p>
<p data-wodoc-page="tyxml"><a href="/tyxml/">Tyxml</a></p>
<p data-wodoc-page="ocsigen-start"><a href="/ocsigen-start/">Start</a></p>
</div>
<form id="googlesearch" action="https://google.com/search">
<input name="q" id="gsearch-box" placeholder="Search using Google"/>
<label for="gsearch-box"><img src="/img/search.svg" alt="" id="gsearch-icon"/></label>
<input type="submit" id="gsearch-submit" onclick="document.getElementById('gsearch-box').value += ' site:ocsigen.org';"/>
</form>
<aside class="how-drawer">
<input id="how-drawer-toggle" type="checkbox"/>
<label for="how-drawer-toggle" id="how-drawer-label"><span class="how-drawer-icon"></span></label>
<nav class="how-drawer-content">
<ul class="drawermainmenu">
<li class="drawermainmenu-home current" data-wodoc-page="githubio"><a href="/">Home</a></li>
<li class="drawermainmenu-doc" data-wodoc-page="tuto"><a href="/tuto/">Doc</a></li>
<li class="drawermainmenu-project" data-wodoc-page="eliom"><a href="/eliom/">Eliom</a></li>
<li class="drawermainmenu-project" data-wodoc-page="js_of_ocaml"><a href="/js_of_ocaml/">Js_of_ocaml</a></li>
<li class="drawermainmenu-project" data-wodoc-page="ocsigenserver"><a href="/ocsigenserver/">Server</a></li>
<li class="drawermainmenu-project" data-wodoc-page="lwt"><a href="/lwt/">Lwt</a></li>
<li class="drawermainmenu-project" data-wodoc-page="tyxml"><a href="/tyxml/">Tyxml</a></li>
<li class="drawermainmenu-project" data-wodoc-page="ocsigen-toolkit"><a href="/ocsigen-toolkit/">Toolkit</a></li>
<li class="drawermainmenu-project" data-wodoc-page="ocsigen-start"><a href="/ocsigen-start/">Start</a></li>
<li class="drawermainmenu-project" data-wodoc-page="ocsipersist"><a href="/ocsipersist/">Ocsipersist</a></li>
<li class="drawermainmenu-project" data-wodoc-page="reactiveData"><a href="/reactiveData/">ReactiveData</a></li>
<li class="drawermainmenu-project" data-wodoc-page="ocsigen-i18n"><a href="/ocsigen-i18n/">i18n</a></li>
<li class="drawermainmenu-project" data-wodoc-page="wodoc"><a href="/wodoc/">Wodoc</a></li>
<li class="drawermainmenu-page" data-wodoc-page="projects"><a href="/projects">Other projects</a></li>
<li class="drawermainmenu-page" data-wodoc-page="papers"><a href="/papers">Research papers</a></li>
<li class="drawermainmenu-page" data-wodoc-page="credits"><a href="/credits">Who does Ocsigen?</a></li>
<li class="drawermainmenu-page" data-wodoc-page="contributing"><a href="/contributing">Contributing</a></li>
<li class="drawermainmenu-page" data-wodoc-page="blog"><a href="/blog/">Blog</a></li>
<li class="drawermainmenu-page" data-wodoc-page="install"><a href="/install">Installation</a></li>
<li class="drawermainmenu-page"><a href="https://github.com/ocsigen">Source code</a></li>
</ul>
<!-- On mobile the left column is hidden; its menu lives here in the burger
(.how-doctree, shown only on narrow screens), as the old site did.
Empty on the vitrine; the leftnav hole is filled (with the same
fragment as the left column) only on project pages. -->
<nav class="how-doctree"></nav>
</nav>
</aside>
</div>
<div class="project-page">
<div class="rightcol">
<header class="odoc-preamble"><h1 id="installing-ocsigen">Installing Ocsigen</h1><p>All Ocsigen packages are available via <a href="https://opam.ocaml.org/">opam</a>, the OCaml package manager.</p></header>
<div class="odoc-content"><h3 id="full-stack-web-and-mobile-apps">Full-stack Web and mobile apps</h3><p>For client-server applications with mobile support, start with <a href="/ocsigen-start/">Ocsigen Start</a>:</p><pre class="language-sh"><code>$ opam install ocsigen-start</code></pre><p>Then read the <a href="/tuto/latest/basics.html">getting started guide</a>.</p><h3 id="server-side-websites">Server-side websites</h3><p>For traditional websites with minimal client-side code, <a href="/eliom/">Eliom</a> alone is enough:</p><pre class="language-sh"><code>$ opam install ocsipersist-sqlite-config eliom</code></pre><p>See the <a href="/tuto/latest/basics-server.html">server-side programming documentation</a>.</p><h3 id="more-resources">More resources</h3><p>Browse all <a href="/tuto/">tutorials</a> to find the best starting point for your project.</p></div>
</div>
</div>
<div class="main-page-section main-page-section-about">
<div class="main-page-section-content">
<ul>
<li><a href="credits.html">Who does Ocsigen?</a></li>
<li><a href="papers.html">Research papers</a></li>
<li><a href="projects.html">All the projects</a></li>
<li><a href="contributing.html">Contributing</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="install.html">Installation</a></li>
<li><a href="https://github.com/ocsigen">Source code</a></li>
</ul>
</div>
</div>
<!-- shared Ocsigen highlighter: odoc's bundled highlight.js + wodoc-highlight.js
(Ocsigen OCaml extensions + highlightAll), same engine as the blog and docs. -->
<script src="/doc/highlight.pack.js"></script>
<script src="/doc/wodoc-highlight.js"></script>
</body>
</html>