QloApps

QloApps is an Open Source software that launches a multilingual Hotel Booking Website within a matter of few minutes that too for Free. QloApps allows you to take and manage both on-desk and online hotel booking. It consists of all the features which are required to take your hotel business to its pinnacle.

Software Included

Package Version License
Apache 2.4.29 Apache2
PHP 7.2.24 PHP v3.01
Mysql 5.7.31 Mysql 5.7 GPL

Creating an App using the Control Panel

Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.

Deploy to DO

Creating an App using the API

In addition to creating a Droplet from the QloApps 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB QloApps Droplet in the SFO2 region, you can use the following curl command. You need to either save your API access token) to an environment variable or substitute it in the command below.

curl -X POST -H 'Content-Type: application/json' \
         -H 'Authorization: Bearer '$TOKEN'' -d \
        '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "webkul-qloapps-18-04"}' \
        "https://api.digitalocean.com/v2/droplets"

Getting Started After Deploying QloApps

After creation of the droplet you can ssh login to your droplet.

To login to your droplet from linux/mac system run below command

ssh root@your-droplet-ip

For windows system, please refer to below link

https://www.ssh.com/ssh/putty/windows/

When you login to your droplet for the first time, it will ask for the domain name for QloApps setup. You must map your domain to your droplet ip beforehand. If you do not have any domain you just need to put your droplet ip.

After Initial setup is completed, you can open your QloApps url in the browser for rest of the setup.

For the rest of the setup in the browser, use below details for database configuration.

Database name : qloapps

Database login : qloapps

Database password : password stored in /root/.digitalocean_password

Look for password inside the file by running the command

cat /root/.digitalocean_password

For backend login, it will ask you to remove the install directory.

Your web directory is /var/www/html .

You can remove the install directory by running the command

rm -rf /var/www/html/install.

You can check our QloApps source code here.

https://github.com/webkul/hotelcommerce

About DigitalOcean Managed DBaaS

If you select to install a DigitalOcean Managed Database while creating this 1-click app, DigitalOcean handles the creation of the database cluster as well as the Droplet. The Droplet will have a DATABASE_URL environment variable configured including a database connection string, such as:

*** postgresql://doadmin:@dbaas-db-11111-do-user-1111111-1.b.db.ondigitalocean.com:25060/defaultdb?sslmode=require***

Your managed database configuration and credentials will be stored in /root/.digitalocean_dbaas_credentials

Please note that there is additional configuration needed to connect your managed database to this droplet after creation.