-
Notifications
You must be signed in to change notification settings - Fork 4
/
INSTALL
47 lines (31 loc) · 1.14 KB
/
INSTALL
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
How to get the dependencies
===========================
First you need opam (or you know what you are doing), and do:
$ opam repository add ocsigendev https://github.com/ocsigen/opam-ocsigen.git
$ opam repository add cumulus https://github.com/Cumulus/opam-cumulus.git
$ opam update
$ opam install cumulus-deps
You will still need to install with your packages manager
(aptitude, apt-get, pacman, …) the following packages:
* postgresql
* All the system packages needed by the opam packages (debian naming convension):
* libpcre3-dev
* libssl-dev
* libgdbm-dev
* And maybe I forgot some deps
How to setup the database and build
===================================
To init the database, just execute:
$ sudo -u postgres psql -f createdb.sql
By default the password is 'cumulus', if you want to change that, then execute:
$ sudo -u postgres psql
postgres=# \password cumulus
<type your password>
The final part is about to create a file named 'password' filled with the password you just gave,
and recompile the project with:
$ make
Then either you can do:
$ make install
and setuping your server or do:
$ make run »
for testing.