database schema and configure your configuration files to point at the
database server. Issue the following command as root from inside the Evergreen
source directory, replacing <user>, <password>, <hostname>, <port>, and <dbname>
-with the appropriate values for your PostgreSQL database:
+with the appropriate values for your PostgreSQL database, and <admin-user> and
+<admin-pass> with the values you want for the default Evergreen administrator
+account:
perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config \
--service all --create-schema --create-offline \
--user <user> --password <password> --hostname <hostname> --port <port> \
- --database <dbname>
+ --database <dbname> --admin-user <admin-user> --admin-pass <admin-pass>
This will create the database schema and configure all of the services in
your /openils/conf/opensrf.xml configuration file to point to that database.
It also creates the configuration files required by the Evergreen cgi-bin
-administration scripts.
+administration scripts, and set the user name and password for the default
+Evergreen administrator account to your requested values.
Developer instructions:
======================