Difference between revisions of "Booked"
From SME Server
Jump to navigationJump to searchm |
m (→Installation) |
||
Line 29: | Line 29: | ||
mysql -e "create database booked;" | mysql -e "create database booked;" | ||
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 | + | mysql -e "flush privileges;" |
[[Category:Webapps]] | [[Category:Webapps]] | ||
[[Category:Howto]] | [[Category:Howto]] |
Revision as of 08:23, 21 November 2014
Introduction
"Booked is a simple but powerful reserve-anything scheduler. With flexible layouts, custom rules, a powerful administrative backend, and an unbelievably simple user experience, Booked can fit almost any need. From conference rooms to lab equipment to airplanes - it's Booked." Demo
Installation
This Howto describes how to install 'Booked' in an SME Server Ibay, but it can of course it can also be installed in e.g. /opt/booked.
Booked does not have the greatest or most intuitive install procedure or documentation, hence the procedure below.
- Download the latest version from sourceforge and save the .zip file in e.g. /root/install
- Create a new IBay called "booked" with read everyone and web serving capabilities
- Unzip the downloaded .zip file into the "booked" IBay:
unzip booked-2.5.8.zip -d /home/e-smith/files/ibays/booked/html mv /home/e-smith/files/ibays/booked/html/booked/* /home/e-smith/files/ibays/booked/html rm -f /home-e-smith/files/ibays/booked/html/booked chown -R www:www /home/e-smith/files/ibays/booked/html/ *
- Set the PHPbaseDir for the "booked" IBay:
db accounts setprop booked PHPBaseDir /home/e-smith/files/ibays/booked:/tmp
- Create the MySQL database, replace credentials to your likings:
mysql -e "create database booked;" mysql -e "grant all privileges on booked.* to 'booked_user'@'localhost' identified by 'verysecretpass';" mysql -e "flush privileges;"