Giter VIP home page Giter VIP logo

vagrant_qloapps's Introduction

WHAT IS QLOAPPS

Qlo is an open source, free and customizable online reservation system. You can launch a userfriendly site and can manage online as well as offline bookings. Using this you can easily launch your hotel booking website and even manage your offline booking too. This package is developed on top of Prestashop 1.6.

SHELL PROVISIONING IN VAGRANT

Vagrant is used to create and configure lightweight, reproducible, and portable development environments. It allows set-up, configuration and working in a simple way. Vagrant allows provisioning tools such as shell scripts, Chef, or Puppet, that can be used to automatically install and configure software on the machine.

Provisioners in Vagrant allow you to automatically install software packages, change configurations, running command line instructions etc. It automates the workflow. Vagrant gives you multiple options for provisioning the machine, from simple shell scripts to more complex ones. You can run provisining by running "vagrant up --provision".

We are here using shell provisioner. The Vagrant Shell provisioner allows you to execute a script within the guest instance. Here we will create a shell script installing the LAMP set-up (including other necessory packages) and Qloapps, an open source Hotel Commerce Solution. Qlo booking system allow hotel owners to manage their online & ondesk bookings by launching an Hotel Booking Website.

PREREQUISITES

Latest available version of Virtualbox and Vagrant server should be installed on the server. Run vagrant -v to check vagrant version.

Dowload a Vagrant box for Ubuntu 18.04 and add its path in the Vagrantfile. A Vagrantfile sample is added in this project. Mention path to the Vagrant box in config.vm.box.

Mention Vagrant username, password and IP address in their respective fields.

VAGRANT SHELL PROVISIONING FOR QLOAPPS

Enable shell provisioning by defining function in Vagrantfile. A qloapps.sh bash script is placed parallel to the Vagrantfile. Configure your Vagrantfile by mentioning box name, IP address, vagrant user and vagrant password and add config.vm.provision "shell", path: "qloapps.sh" as shown in Vagrantfile.

Now open qloapps.sh file and set the domain name, database host and database name in their respective variables. Take a note that mysql root password will be randomly generated here which you can check in a log file located at /var/log/check.log after shell provisioning is completed. Don't forget to remove /var/log/check.log file after noting down mysql root password.

In our architecture, we are using:

Ubuntu 18.04

Apache2

PHP-7.2

Mysql-5.7

Database user: root

Qloapps installation path: /var/www/html/hotelcommerce

After finishing the script,

Close the file and make it executable by running command: chmod a+x qloapps.sh

Now, you can load you vagrant instance by running command: vagrant up

To deploy shell provisioning, run command: vagrant provision

To run provisioning along with vagrant startup, run command: vagrant up --provision

To enter the vagrant environment after startup, run command: "vagrant ssh"

To stop the instance, run exit command in vagrant enviornment and then run command: vagrant halt

To destroy your vagrant environment, run command: vagrant destroy

After successfull installation, hit the url http://your-server-name and begin with the installation.

GETTING SUPPORT

If you have any issues, contact us at [email protected] or raise ticket at https://webkul.uvdesk.com/

Thank you.

vagrant_qloapps's People

Contributors

siddharthchouradiya avatar webkul avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vagrant_qloapps's Issues

Vagrant up doesn't giving me access to open back office

Hello team,
I was wondering to try out this application locally. I have installed using vagrant and done with the installation. As well as I removed install folder from /var/www/hotelcommerce-1.0. When I was trying to access the back office application, Its showing me this page

screen shot 2017-07-02 at 1 11 22 pm

Can someone help me out?

I am using,

  • ubuntu/trusty64
  • Virtualbox, provided 8 GB ram for this machine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.