Changes

Jump to navigation Jump to search
697 bytes added ,  14:42, 21 November 2014
m
Line 1: Line 1: −
{{WIP box}}
   
<blockquote style="float: right;">
 
<blockquote style="float: right;">
 
[[File:booked.png|250px]]
 
[[File:booked.png|250px]]
Line 31: Line 30:  
  mysql -e "grant all privileges on booked.* to 'booked_user'@'localhost' identified by 'verysecretpass';"
 
  mysql -e "grant all privileges on booked.* to 'booked_user'@'localhost' identified by 'verysecretpass';"
 
  mysql -e "flush privileges;"
 
  mysql -e "flush privileges;"
 +
 +
{{Note box | The online "admin manual" can be found at http://yourdomain.com/booked/readme_installation.html}}
    
* Copy the example config file
 
* Copy the example config file
Line 38: Line 39:  
Edit the config file by adjusting at least the following settings/values:
 
Edit the config file by adjusting at least the following settings/values:
 
  $conf['settings']['admin.email'] = 'admin@example.com'; <-- change to your email address
 
  $conf['settings']['admin.email'] = 'admin@example.com'; <-- change to your email address
  $conf['settings']['script.url'] = 'http://localhost/Web'; <-- must have this value
+
  $conf['settings']['script.url'] = 'http://yourserver.com/booked/Web'; <-- change to your domain
 
  $conf['settings']['database']['type'] = 'mysql';
 
  $conf['settings']['database']['type'] = 'mysql';
  $conf['settings']['database']['user'] = 'booked_user';       // database user with permission to the booked database $conf['settings']['database']['password'] = 'verysecretpass'; $conf['settings']['database']['hostspec'] = 'localhost';       // ip, dns or named pipe $conf['settings']['database']['name'] = 'booked';
+
  $conf['settings']['database']['user'] = 'booked_user';
 +
$conf['settings']['database']['password'] = 'verysecretpass';
 +
$conf['settings']['database']['hostspec'] = 'localhost';
 +
$conf['settings']['database']['name'] = 'booked';
   −
and very specifically the installation password:
+
and specifically the installation password:
 
  $conf['settings']['install.password'] = 'j3kfd982nd3'; <-- example password, set own password
 
  $conf['settings']['install.password'] = 'j3kfd982nd3'; <-- example password, set own password
    +
==Configuration==
 +
After installing booked one can use the "installer" to populate the MySQL database and other settings. For this go to:
 +
http://<yourdomain.com>/booked/Web/install/
 +
Here you need to provide the installation password you have entered in the config.php file above.
 +
 +
In contrast what the text says, you have to fill out the MySQL user credentials and NOT the root credentials. Since we already created the database itself, only select to populate the database.
 +
 +
When finished, you may go to the main booked page and create an account.
 +
http://yourdomain.com/booked/Web
 +
 +
Further config settings can be set from within the applications.
 +
 +
 +
==TO DO==
 +
LDAP authentication
    
[[Category:Webapps]]
 
[[Category:Webapps]]
 
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu