Git Product home page Git Product logo

drifter's Introduction

Drifter

Drifter is a framework to help provision developer boxes using Ansible and Vagrant.

Requirements

  • Vagrant >= 1.8.4

You also need a virtualization solution, either one of those :

  • Virtualbox >= 4.3
  • LXC >= 1.0 & vagrant-lxc >= 1.0.0.alpha.2

Optional dependencies :

  • vagrant-hostmanager >= 1.5.0 (will be automatically used if installed, make sure it's at least 1.5.0 if you have it)
  • Ansible >= 1.9.0 (if you want to use a different provisioner than the default ansible-local)

Documentation

You can find the complete documentation on Read The Docs : https://liip-drifter.readthedocs.io/

TL;DR;

To install it in your project, simply run the following in your project root :

curl -sS https://raw.githubusercontent.com/liip/drifter/master/install.sh | /bin/bash

This will create a Vagrantfile in your root and a virtualization folder containing configuration option. You now have to follow those two steps :

  • edit virtualization/parameters.yml to set parameters related to your project
  • edit virtualization/playbook.yml to configure what to install in your box

You now just have to launch your Vagrant box and start hacking :

vagrant up

Beforehand, we highly recommend installing the vagrant-hostmanager plugin so that your /etc/hosts/ file is automatically updated with the correct ip :

vagrant plugin install vagrant-hostmanager

If you are a lucky linux user, you can use the LXC provider to have a much quicker box :

vagrant plugin install vagrant-lxc
vagrant up --provider lxc

Installing Vagrant

Debian Stretch (testing) and Ubuntu Xenial 16.04

Open a termain and run :

sudo apt-get install vagrant vagrant-lxc vagrant-cachier
vagrant plugin install vagrant-hostmanager

older Debian and Ubuntu

Go to https://www.vagrantup.com/downloads.html to download and install the latest Vagrant version.

Then open a terminal and run :

sudo apt-get install lxc redir    # this is needed for LXC provider
vagrant plugin install vagrant-lxc vagrant-cachier vagrant-hostmanager

Mac OS X

Go to https://www.vagrantup.com/downloads.html to download and install the latest Vagrant version.

Go to https://www.virtualbox.org/wiki/Downloads to download and install the latest VirtualBox version.

Then open a terminal and run :

vagrant plugin install vagrant-lxc vagrant-cachier vagrant-hostmanager

Windows

To be completed.

drifter's People

Contributors

krtek4 avatar chregu avatar sephii avatar odyx avatar jeanmonod avatar lebenleben avatar gnutix avatar hywan avatar t4m avatar chrootlogin avatar dbu avatar gperriard avatar lsmith77 avatar mweibel avatar bellisk avatar sitron avatar

Watchers

James Cloos avatar  avatar

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.