Skip to content

Installation

franko108 edited this page Dec 10, 2014 · 10 revisions

Home-Booking works on PHP/MySQL.

REQUIREMENTS

  • Web server, Apache or some other. mod_rewrite must be enabled on Apache server
  • MySQL 5
  • PHP 5.2+
  • OS independent, linux, windows, mac OS. (linux recommended)

INSTALLATION

  • Make directory where programs will be stored and that web server is using for this program.
    On Debian/Ubuntu Linux, and Apache web server, this is /var/www/
    Directory may be: /var/www/home-booking

  • Unzip the Home Booking within that directory.
    (check that web server has proper permission to the program)

  • Browse to the doc directory and restore the empty database.
    On linux this is:
    $ mysql -p -u db_username booking < database_empty.sql
    (booking is the database name)

  • Edit application/config/config.php file and change line 17 to be like this:
    $config['base_url'] = 'http://localhost/home-booking/';

  • Edit application/config/database.php on line 52 and put your data instead of this example:
    $db['default']['username'] = 'your_db_usernam';
    $db['default']['password'] = 'db_password';
    $db['default']['database'] = 'booking';

  • Fire your browser and go to:
    http://localhost/home-booking

Open help to check application manual, or use it straight ahead.
Hope it will be useful-


Installation script

However, this is manual installation, it is possible to navigate to install script which do all this job. Script is available in the directory where application is placed, then from browser open:
http://path_to_app/install/install.php
The wizard will ask the questions about database, database user and password and installation script makes the rest of the job.

Clone this wiki locally