-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
33 lines (22 loc) · 1.03 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
To generate a Makefile, run:
$ perl Makefile.PL
This will also warn you of any missing modules, so make sure to read the
output.
Then, to run the tests:
$ make
$ make test
If the tests were succesful, install:
$ sudo make install
This distribution requires at least PostgreSQL version 9.3; it uses the
btree_gist module from the postgres-contrib repository. To give your normal
development UNIX user access to the server switch to the UNIX user running
PostgreSQL and run (substituting $USERNAME with your username):
$ createuser -ds $USERNAME
Then, as $USERNAME, you can use createdb and dropdb to create and destroy a
liminfra database as you see fit. To open a Postgres shell to the empty
liminfra database, use 'psql liminfra'. To tell the code distribution how to
access the database, copy the limesco.conf.sample file to /etc/limesco.conf and
modify it if needed. Then, run the upgrade tool:
$ upgrade.pl
This will initialize your database so you can get started. Read the DEVELOPMENT
file for more information on developing liminfra.