-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from ocsigen/static
Configuration without config file
- Loading branch information
Showing
34 changed files
with
704 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
opam-version: "2.0" | ||
name: "ocsipersist-dbm-config" | ||
version: "2.0.0" | ||
authors: "The Ocsigen team <dev@ocsigen.org>" | ||
maintainer: "Jan Rochel <jan@besport.com>" | ||
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" | ||
synopsis: "Ocsigen Server configuration file extension for ocsipersist-dbm" | ||
description: "Load this package from Ocsigen Server's configuration file if you want to use the DBM storage backend." | ||
|
||
homepage: "https://github.com/ocsigen/ocsipersist" | ||
bug-reports: "https://github.com/ocsigen/ocsipersist/issues" | ||
dev-repo: "git+https://github.com/ocsigen/ocsipersist.git" | ||
build: [ "dune" "build" "-p" name "-j" jobs ] | ||
|
||
depends: [ | ||
"dune" {>= "2.9"} | ||
"xml-light" | ||
"ocsigenserver" {>= "3.0.0"} | ||
"ocsipersist-dbm" {>= "2.0.0" & < "2.1.0"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
opam-version: "2.0" | ||
name: "ocsipersist-pgsql-config" | ||
version: "2.0.0" | ||
authors: "The Ocsigen team <dev@ocsigen.org>" | ||
maintainer: "Jan Rochel <jan@besport.com>" | ||
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" | ||
synopsis: "Ocsigen Server configuration file extension for ocsipersist-pgsql" | ||
description: "Load this package from Ocsigen Server's configuration file if you want to use the PostgreSQL storage backend." | ||
|
||
homepage: "https://github.com/ocsigen/ocsipersist" | ||
bug-reports: "https://github.com/ocsigen/ocsipersist/issues" | ||
dev-repo: "git+https://github.com/ocsigen/ocsipersist.git" | ||
build: [ "dune" "build" "-p" name "-j" jobs ] | ||
|
||
depends: [ | ||
"dune" {>= "2.9"} | ||
"xml-light" | ||
"ocsigenserver" {>= "3.0.0"} | ||
"ocsipersist-pgsql" {>= "2.0.0" & < "2.1.0"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
opam-version: "2.0" | ||
name: "ocsipersist-sqlite-config" | ||
version: "2.0.0" | ||
authors: "The Ocsigen team <dev@ocsigen.org>" | ||
maintainer: "Jan Rochel <jan@besport.com>" | ||
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception" | ||
synopsis: "Ocsigen Server configuration file extension for ocsipersist-sqlite" | ||
description: "Load this package from Ocsigen Server's configuration file if you want to use the SQLite storage backend." | ||
|
||
homepage: "https://github.com/ocsigen/ocsipersist" | ||
bug-reports: "https://github.com/ocsigen/ocsipersist/issues" | ||
dev-repo: "git+https://github.com/ocsigen/ocsipersist.git" | ||
build: [ "dune" "build" "-p" name "-j" jobs ] | ||
|
||
depends: [ | ||
"dune" {>= "2.9"} | ||
"xml-light" | ||
"ocsigenserver" {>= "3.0.0"} | ||
"ocsipersist-sqlite" {>= "2.0.0" & < "2.1.0"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
{0 ocsipersist-dbm} | ||
|
||
For the API documentation see OPAM package [ocsipersist]. | ||
|
||
Here we document the configuration options of the ocsigenserver extension. | ||
All sub-tags of the [extension] tag are optional. | ||
|
||
{[ | ||
<extension findlib-package="ocsipersist.dbm"> | ||
<delayloading val="false"/> | ||
<store dir="store"/> | ||
<ocsidbm name="ocsidbm"/> | ||
</extension> | ||
]} | ||
DBM backend for Ocsipersist. | ||
For the API documentation see OPAM package {{:../ocsipersist/Ocsipersist/index.html}ocsipersist}. | ||
This page describes how to configure the DBM backend. | ||
The DBM backend uses a server process [ocsidbm]. | ||
|
||
{1 Using as a library} | ||
|
||
If you are not using Ocsigen Server's configuration file, | ||
add library [ocsipersist-dbm.settings] in your Dune file, and | ||
use module {!Ocsipersist_settings} | ||
to configure the storage file. | ||
|
||
{1 Using with Ocsigen Server: ocsipersist-dbm-config} | ||
|
||
If you want to configure Ocsipersist-dbm from Ocsigen Server's | ||
configuration file, use package | ||
{{:../ocsipersist-dbm-config/Ocsipersist_config/index.html}ocsipersist-dbm-config}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.