Warning: This project has been discontinued!

Documentation

Setup

After all program files of the hotel system have been copied to a directory within the webserver's document root, and all libraries have been installed, you can setup the application.

1. Setup webserver

If the hotel system should be available under a (sub)domain (which is recommended), please make sure that you webserver is configured such that it uses the directory

public/

as its publicly available directory.

2. Setup database

Now you should create an empty MySQL 5+ database on your webserver and note the credentials for the next step.

3. Configuration

Rename the file

config/autoload/local.php.dist

to

config/autoload/local.php

and customize its values on demand. At least, you have to insert the database credentials.

4. Setup directory permissions

If you are using an Unix-like operating system (like Linux), setup the access permissions of the following directories such that the application is allowed to write files to them:

  • data/cache/
  • data/log/
  • data/session/
  • public/docs-client/upload/
  • public/imgs-client/upload/

Make sure to set those permissions recursively, so that possible subdirectories are affected as well.

5. Start setup tool

Now open the (sub)domain of your hotel system installation in your web browser.

In case all system requirements are met and all steps above have been followed correctly, the system should now notify about an empty, not yet setup, database, and offer to start the setup tool.

Start the setup tool (/setup.php/ - with a slash at the end).

The setup tool will guide you through all further setups, especially creating the proper database tables and inserting a minimum amount of data.

6. Done!

After completing the setup tool, the system should be setup and ready to be used. Further adjustments and configuration (e.g. of your rooms) can be performed via the system backend (just log in with the credentials passed to the setup tool).

Although the setup tool usually cannot be started twice, it is really more secure to delete it by deleting the following file:

public/setup.php

If you wish, you can also insert you own logo and change the color scheme.

Created by: Tobias Krebs
Updated: August 2014