/ehoteldesk

Hotel Desk Webapp

Primary LanguagePHP

eHotelDesk

License: MIT Build Status Total Downloads

Simple open source PHP hotel desk web application built with latest technologies.

The source code can be found here: malamalca/ehoteldesk.

alt text

Installing eHotelDesk via Composer

  1. Download Composer or update composer self-update.
  2. Run php composer.phar create-project malamalca/ehoteldesk --no-dev.

If Composer is installed globally, run

composer create-project malamalca/ehoteldesk --no-dev

Installing eHotelDesk from archive

  1. Download Latest eHotelDesk release and extract it to your webroot folder.
  2. Copy config/app_local.example.php to config/app_local.php and open the file with your preferred text editor
  3. Find and replace following settings in your config/app.php file:
    • __SALT__ with a random string (eg 3498klfsjo093ljk42389s)
    • __DBHOST__ with mysql host (eg localhost)
    • __DBUSER__ with mysql user (eg ehoteldesk_www)
    • __DBPASS__ with mysql password (eg mysecretpassword)
    • __DATABASE__ with mysql database name (eg ehoteldesk)
  4. Import schema/ehoteldesk.sql file into your mysql database (you should create it first and set up db permissions) via phpMyAdmin or mysql command line interface (eg mysql -u username -p database_name < ehoteldesk.sql).
  5. Set up write permission for following folders and their subfolders logs, tmp, uploads, webroot/img/thumbs.

Running

You can now either use your machine's webserver to view the default home page, or start up the built-in webserver with:

bin/cake server -p 8765

Then visit http://localhost:8765 to see the welcome page.

Configuration

Read and edit config/app_local.php and setup the 'Datasources' and any other configuration relevant for your application.