Coder Social home page Coder Social logo

rocknrollmarc / vagrant-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bzcoding/vagrant-templates

0.0 1.0 0.0 47 KB

A set of Vagrant template boxes for common development languages (PHP, Ruby, Node.js) and databases (MySQL, MongoDB)

License: MIT License

HTML 2.71% Ruby 88.11% JavaScript 1.15% ApacheConf 2.22% PHP 5.81%

vagrant-templates's Introduction

Vagrant Developer's Toolbox

This repository contains a set of Vagrant boxes for common development languages (PHP, Ruby, Node.js) and databases (MySQL, MongoDB).

How to use

Every directory, except the common ansible, contains a template box. To make you own box:

  • copy the directory with the box you need,
  • copy the role you need from the shared ansible/roles to [yourbox]/ansible/roles,
  • customize the box and playbook settings,
  • run vagrant up and start coding.

A sample project directory can be structured like:

/home/[username]/Projects/my-project
   |-build
   |-config
   |-db
   |---dev
   |---prod
   |-ansible
   |---roles
   |-----[roles dirs]
   |---playbook.yml
   |-shell
   |---bootstrap.sh
   |-src
   |---[your app code]
   |-tests
   |-webroot
   |-Vagrantfile

Requirements

Vagrant Tips

Download VirtualBox guest additions from: http://download.virtualbox.org/virtualbox/x.x.x/VBoxGuestAdditions_x.x.x.iso

Disable Guest additions in your box with:

config.vbguest.auto_update = false
config.vbguest.no_install = true
config.vbguest.no_remote = true

Useful Vagrant plugins

  • vagrant-hostmanager: manages the /etc/hosts file on guest machines (and optionally the host)
  • vagrant-dns: allows you to configure a dns-server managing a development subdomain
  • vagrant-cachier: caches package managers files
  • vagrant-remove-old-box-versions

vagrant-templates's People

Contributors

vtardia avatar

Watchers

RocknrollMarc 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.