*** empty log message ***

This commit is contained in:
alba 2002-08-03 21:14:28 +00:00
parent 2d0d4da4d0
commit d109aa8320
1 changed files with 24 additions and 13 deletions

View File

@ -69,7 +69,7 @@ least the files 'bin/setenv.sh' and 'conf/lampadas.conf'.
This step is very optional. First of all it's just documenation,
nothing vital. And then the installation kit (lampadas-*.tar.gz)
already contains all rendered HTML.
already contains all rendered output.
It's a nice way to test some tools from step #1, though.
And developers accessing CVS should really give it a try.
@ -78,6 +78,12 @@ And developers accessing CVS should really give it a try.
make clean
make
Documentation includes some man-pages. You can view them like this:
nroff -man doc/lampadas.1 | less
If you prefer a more comfortable 'man lampadas' instead, FIXME
=======================================
3. Install postgresql database
=======================================
@ -89,19 +95,24 @@ passwords or network control.
Usually there is only one priviledged account (called 'postgres')
with access to the postmaster. You will need two other accounts.
One for database management, one for the webserver. See for
'bin/setenv.sh' for the value of LAMPADAS_WWW_USER. It should have
been set by ./configure.
One for database management, one for the webserver.
See 'bin/setenv.sh' for the value of LAMPADAS_WWW_USER.
It should have been set by ./configure.
To grant another account access, do the following (as root, since
user postgres has no password set):
To grant your installation account access, do the following (as root,
since user postgres has no password set):
su - postgres -c 'createuser -A -d alba'
su - postgres -c "createuser -A -d lampadas"
'alba' is my account name on my machines, chose something approriate.
You won't need root access again for the database.
Log in with the new account ('alba' in above example) and create a
database instance called 'lampadas':
The webserver requires less permissions:
su - postgres -c "createuser -A -D $LAMPADAS_WWW_USER"
'lampadas' should be your account for installation and maintenance,
chose something aproriate. You won't need root access again for
the database. Log in with the new account ('lampadas' in above
example) and create a database instance called 'lampadas'
(must match value of LAMPADAS_DB in 'bin/setenv.sh'):
createdb -E UNICODE lampadas
@ -110,8 +121,8 @@ Test the result:
psql lampadas
To create tables and insert default values use 'bin/lampadasdb'.
This tool requires some environment variables defined by 'bin/setenv.sh'.
Please read the comments in that file.
This tool requires a lot of environment variables defined by
'bin/setenv.sh'. Please read the comments in that file.
. bin/setenv.sh
bin/lampadasdb create