Giter VIP home page Giter VIP logo

micropcf's Introduction

microPCF (Pivotal Cloud Foundry)

MicroPCF is an open source project for running a local version of Pivotal Cloud Foundry. It supports the CF CLI and runs using Vagrant on VirtualBox, VMware Fusion for Mac, VMware Workstation for Windows, and Amazon Web Services.

[ Website | Latest Release | Nightly Builds ]

Deploy microPCF with Vagrant

A colocated deployment of microPCF can be launched locally with Vagrant. You will need:

NOTE: Ubuntu 14.04 LTS does not install a compatible version of Vagrant by default. You can upgrade the version that you get out of the box by downloading the .deb file from Vagrant.

Spin up a virtual environment

Download the Vagrantfile into a new local folder, and open a prompt to that folder:

vagrant up --provider virtualbox

This spins up a virtual environment that is accessible at local.micropcf.io

Use an Administrator shell to deploy using VMware Workstation on Windows.

Supported environment variables
  1. MICROPCF_IP - sets the IP address to bring up the VM on
  2. MICROPCF_DOMAIN - sets an alternate alias for the system routes to be defined on
  • defaults to local.micropcf.io, then $MICROPCF_IP.xip.io
  1. VM_CORES - number of CPU cores to allocate on the Guest VM (defaults to host # of logical CPUs)
  2. VM_MEMORY - number of MB to allocate on the Guest VM (defaults to 25% of host memory)
Install cf - CF CLI

More information is available on the Cloud Foundry CLI README or the Cloud Foundry CLI Releases page. Please install the appropriate binary for your architecture.

Development

NOTE: These instructions are for people contributing code to microPCF. If you only want to deploy microPCF, see above. These instructions cover Vagrant/Virtualbox development. A similar process can be followed for Vagrant/VMWare and Vagrant/AWS development. More documentation is forthcoming.

To develop microPCF you will need to have the following tools installed:

  • Packer
  • Vagrant
  • Virtualbox
  • Direnv (optional)

Clone the microPCF source

git clone --recursive https://github.com/pivotal-cf/micropcf.git

Build microPCF

Setup your shell for building microPCF:

cd micropcf
direnv allow # or: source .envrc

Building a microPCF Box

If you change any Diego components, you'll need to build a local Vagrant box with your changes. If you don't plan to change any Diego components, you can update the box_version property in the Vagrantfile to point to a pre-built microPCF box on Atlas and skip this step.

./images/base/build -only=virtualbox-iso
vagrant box add --force micropcf-virtualbox-v0.box --name micropcf/base

Deploy microPCF

# in micropcf/vagrant
vagrant up --provider=virtualbox

Contributing

If you are interested in contributing to microPCF, please refer to CONTRIBUTING.

Copyright

See LICENSE for details. Copyright (c) 2015 Pivotal Software, Inc.

micropcf's People

Contributors

sclevine avatar damon-pivotal avatar ekcasey avatar mdelillo avatar crawsible avatar davidwadden avatar atulkc avatar rexxar-liang avatar tushar-dadlani avatar

Watchers

James Cloos 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.