GithubHelp home page GithubHelp logo

sabau / vagrant-catalog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vube/vagrant-catalog

0.0 1.0 0.0 268 KB

Simple web app to host a catalog of vagrant boxes. A simplified Vagrant Cloud to be run on your private network.

License: MIT License

ApacheConf 0.78% PHP 91.66% Smarty 7.56%

vagrant-catalog's Introduction

Vagrant Catalog

Build Status Coverage Status Latest Stable Version Dependency Status

Application to manage boxing up Vagrant VMs to be used as base boxes for use in private box distribution systems.

You can use vagrant-boxer to package up the Vagrant boxes and keep their metadata updated, then upload the files to a server that is running vagrant-catalog.

vagrant-catalog is a simple HTTP interface to your collection of Vagrant boxes that allows you to browse the boxes you've created and returns metadata to Vagrant so you can use commants like vagrant box outdated, vagrant box update, etc, on your own boxes.

A complete example can be found here: vagrant-boxer-example

Features

  • Simple vagrant catalog browser
  • Integrates easily with Vagrantfile
    • Shows you how to add each box to your Vagrantfile

Installation

To install, clone this repository into your web server's docroot, or a sub-directory thereof.

Then, run composer update

$ git clone https://github.com/vube/vagrant-catalog /path/to/docroot
$ cd /path/to/docroot
$ composer update

For example on a typical Debian server you may clone it into /var/www/vagrant.yourdomain.com

Configuration

$ cd /path/to/docroot
$ cp config.php.dist config.php
$ edit config.php

The default configuration is probably OK for most installations. It assumes are running in the docroot of your virtualhost, and that you are storing files in the files sub-directory.

Usage

Once you're set up, you need to actually install your Vagrant base boxes into the files sub-directory.

For example your docroot may look like this:

docroot:
  - files:
    - your_company:
      - base_box:
        - metadata.json
        - your_company-base_box-1.0.0-virtualbox.box
      - devel_box:
        - metadata.json
        - your_company-devel_box-1.0.0-virtualbox.box
  - config.php
  - index.php

In the above example, there are 2 Vagrant boxes, named your_company/base_box and your_company/devel_box.

The *.box files and the metadata.json files should be created by vagrant-boxer and then you should have uploaded them to this location.

Dependencies

  • A web server (Apache or nginx)
  • PHP 5.3.7+
  • Composer

vagrant-catalog's People

Watchers

Karoly Albert Szabo 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.