{"id":18937771,"url":"https://github.com/webkul/vagrant_qloapps","last_synced_at":"2025-10-04T08:59:06.317Z","repository":{"id":139265889,"uuid":"77886514","full_name":"webkul/Vagrant_qloapps","owner":"webkul","description":"Vagrant Shell Provisioning For QloApps v1.5.1","archived":false,"fork":false,"pushed_at":"2020-09-21T05:19:50.000Z","size":31,"stargazers_count":3,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T01:04:45.632Z","etag":null,"topics":["qloapps","vagrant","vagrant-provisioner","vagrantfile"],"latest_commit_sha":null,"homepage":"https://qloapps.com/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webkul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-03T05:24:07.000Z","updated_at":"2021-09-27T01:04:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"9a2d660f-38f1-4c4d-81e5-b032c297f6dc","html_url":"https://github.com/webkul/Vagrant_qloapps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkul%2FVagrant_qloapps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkul%2FVagrant_qloapps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkul%2FVagrant_qloapps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webkul%2FVagrant_qloapps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webkul","download_url":"https://codeload.github.com/webkul/Vagrant_qloapps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129335,"owners_count":21217336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["qloapps","vagrant","vagrant-provisioner","vagrantfile"],"created_at":"2024-11-08T12:12:24.477Z","updated_at":"2025-10-04T08:59:06.307Z","avatar_url":"https://github.com/webkul.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WHAT IS QLOAPPS\n\nQlo 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.\n\n\n## SHELL PROVISIONING IN VAGRANT\n\nVagrant 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.\n\nProvisioners 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*\".\n\nWe 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 \u0026 ondesk bookings by launching an Hotel Booking Website.\n\n\n## PREREQUISITES\n\n\u003e Latest available version of Virtualbox and Vagrant server should be installed on the server. Run *vagrant -v* to check vagrant version.\n\n\u003e 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*. \n\n\u003e Mention Vagrant username, password and IP address in their respective fields.\n\n\n## VAGRANT SHELL PROVISIONING FOR QLOAPPS\n\nEnable 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 \n*config.vm.provision \"shell\", path: \"qloapps.sh\"* as shown in Vagrantfile.\n\nNow 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.*\n\nIn our architecture, we are using:\n\n\u003e Ubuntu 18.04\n\n\u003e Apache2\n\n\u003e PHP-7.2\n\n\u003e Mysql-5.7\n\n\u003e Database user: root\n\n\u003e Qloapps installation path: /var/www/html/hotelcommerce\n\n\nAfter finishing the script, \n\n\u003e Close the file and make it executable by running command: *chmod a+x qloapps.sh*\n\n\u003e Now, you can load you vagrant instance by running command: *vagrant up*\n\n\u003e To deploy shell provisioning, run command: *vagrant provision*\n\n\u003e To run provisioning along with vagrant startup, run command: *vagrant up --provision*\n\n\u003e To enter the vagrant environment after startup, run command: \"vagrant ssh\"\n\n\u003e To stop the instance, run *exit* command in vagrant enviornment and then run command: *vagrant halt*\n\n\u003e To destroy your vagrant environment, run command: *vagrant destroy* \n\nAfter successfull installation, hit the url http://your-server-name and begin with the installation.\n\n## GETTING SUPPORT\n\nIf you have any issues, contact us at support@qloapps.com or raise ticket at https://webkul.uvdesk.com/\n\n\nThank you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebkul%2Fvagrant_qloapps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebkul%2Fvagrant_qloapps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebkul%2Fvagrant_qloapps/lists"}