Simple open source PHP hotel desk web application built with latest technologies.
The source code can be found here: malamalca/ehoteldesk.
- Download Composer or update
composer self-update
. - Run
php composer.phar create-project malamalca/ehoteldesk --no-dev
.
If Composer is installed globally, run
composer create-project malamalca/ehoteldesk --no-dev
- Download Latest eHotelDesk release and extract it to your webroot folder.
- Copy config/app_local.example.php to config/app_local.php and open the file with your preferred text editor
- Find and replace following settings in your config/app.php file:
__SALT__
with a random string (eg3498klfsjo093ljk42389s
)__DBHOST__
with mysql host (eglocalhost
)__DBUSER__
with mysql user (egehoteldesk_www
)__DBPASS__
with mysql password (egmysecretpassword
)__DATABASE__
with mysql database name (egehoteldesk
)
- 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
). - Set up write permission for following folders and their subfolders
logs
,tmp
,uploads
,webroot/img/thumbs
.
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.
Read and edit config/app_local.php
and setup the 'Datasources'
and any other
configuration relevant for your application.