Giter Club home page Giter Club logo

bpr-vagrant's Introduction

BPR Vagrant Environment

Vagrant development environment to mimic the Yahoo Small Business host for Burbank Paranormal Research and provide a consistent environment between development and production.

The web machine involves both CentOS 6.10 and PHP 5.3.29.

Ensure you get the OS disk image from the CentOS portion of the Requirements section.

Requirements

CentOS

Download the CentOS 6.10 x86-64 Minimal ISO and place it in the images directory.

This is the minimal installation disk image for the OS. The Vagrantfile references this for quicker provisioning.

VirtualBox

Ensure you have the latest version of VirtualBox installed.

Scripts and Aliases

Nix-based Systems

On a nix-based system, you can add the following aliases to your .bashrc file for ease of operation:

BPR_VAGRANT="/path/to/bpr-vagrant"
alias bpr-vagrant="cd ${BPR_VAGRANT}"
alias bpr-init="pushd ${BPR_VAGRANT} && ./add-vbox-guest-additions.sh && ./start-vms.sh && popd"
alias bpr-start="pushd ${BPR_VAGRANT} && ./start-vms.sh && popd"
alias bpr-stop="pushd ${BPR_VAGRANT} && ./stop-vms.sh && popd"
alias bpr-restart="bpr-stop && bpr-start"

Ensure you chmod +x *.sh the scripts for execution permissions.

The bpr-init alias should be executed for the first run of the machine to add the VirtualBox Guest Additions and then start the machine. Subsequent starts can simply use the bpr-start alias instead.

Windows Systems

The start-vms.bat and stop-vms.bat scripts perform the same tasks as start-vms.sh and stop-vms.sh. They simply start and stop the machine, respectively.

Ensure you run add-vbox-guest-additions.bat prior to running start-vms.bat for the first time.

bpr-vagrant's People

Contributors

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