Vagrant et la virtualisation pour faciliter le développement Si Vagrant vous intéresse, nous disposons également d’un tutoriel vidéo gratuit pour mettre en place votre première machine virtuelle avec vagrant. Lors du développement d’une application ou d’un site web, il vous est sans doute arrivé d’avoir un bug dans un environnement donné (production ou staging) que vous n’arriviez pas à reproduire en local, sur votre poste. Vagrant va vous permettre, via la virtualisation, d’avoir exactement le même environnement en développement que sur vos serveurs. Dans le cas présent, nous allons utiliser Vagrant pour le développement d’une application Rails. Qu’est ce que Vagrant ? Vagrant est un outil permettant de créer des machines virtuelles pendant le développement de votre application afin d’obtenir l’environnement souhaité sans pour autant changer la configuration de votre machine. Attention toutefois, Vagrant, et par extension Virtualbox, n’ont pas vocation à être utilisés directement en production. Pré-requis Installation gem install vagrant Utilisation
Downloads This VirtualBox Extension Pack Personal Use and Educational License governs your access to and use of the VirtualBox Extension Pack. It does not apply to the VirtualBox base package and/or its source code, which are licensed under version 3 of the GNU General Public License “GPL”). See our FAQ for answers to common questions. VirtualBox Extension Pack Personal Use and Educational License (PUEL) License version 12, 22 July 2024 § 1 Subject of Agreement. § 2 Grant of license. Oracle reserves all rights not expressly granted in this license. § 3 Restrictions and Reservation of Rights. (1) The Product and copies thereof provided to you under this Agreement are copyrighted and licensed, not sold, to you by Oracle. (3) The Product is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility and Oracle and its licensors disclaim any express or implied warranty of fitness for such uses. § 4 Termination. § 5 Disclaimer of Warranty.
Why Vagrant? - Vagrant Documentation Vagrant provides easy to configure, reproducible, and portable work environments built on top of industry-standard technology and controlled by a single consistent workflow to help maximize the productivity and flexibility of you and your team. To achieve its magic, Vagrant stands on the shoulders of giants. Machines are provisioned on top of VirtualBox, VMware, AWS, or any other provider. If you're a developer, Vagrant will isolate dependencies and their configuration within a single disposable, consistent environment, without sacrificing any of the tools you're used to working with (editors, browsers, debuggers, etc.). If you're an operations engineer, Vagrant gives you a disposable environment and consistent workflow for developing and testing infrastructure management scripts. If you're a designer, Vagrant will automatically set everything up that is required for that web app in order for you to focus on doing what you do best: design.
Getting Started - Vagrant Documentation The Vagrant getting started guide will walk you through your first Vagrant project, and show off the basics of the major features Vagrant has to offer. If you're curious what benefits Vagrant has to offer, you should also read the "Why Vagrant?" page. The getting started guide will use Vagrant with VirtualBox, since it is free, available on every major platform, and built-in to Vagrant. Before diving into your first project, please install the latest version of Vagrant. More of a book person? $ vagrant init hashicorp/precise32 $ vagrant up After running the above two commands, you'll have a fully running virtual machine in VirtualBox running Ubuntu 12.04 LTS 32-bit. Now imagine every project you've ever worked on being this easy to set up. With Vagrant, vagrant up is all you need to work on any project, to install every dependency that project needs, and to set up any networking and synced folders so you can continue working from the comfort of your own machine. Project Setup