Giter Site home page Giter Site logo

cf-vs-extension's Introduction

#Cloud Foundry Visual Studio Extension

The Cloud Foundry Visual Studio Extension enables Cloud Foundry users to publish applications from Visual Studio directly to a Cloud Foundry deployment.

##Features

  • Supports multiple Cloud Foundry targets
  • User interface for pushing applications using the Cloud Foundry MSBuild Tasks
  • View organizations, spaces, apps, services
  • Manage apps, services and bindings

##Installing

  • Download and install CloudFoundry.VisualStudio.vsix from the Visual Studio Gallery
  • Restart Visual Studio

##Building

###Prerequisites

###Build:

  • Clone this repository
  • Open cf-vs-extension.sln in Visual Studio
  • Build CloudFoundry.VisualStudio

For information about the Cloud Foundry MSBuild Tasks, visit: https://github.com/hpcloud/cf-msbuild-tasks

###Debugging CloudFoundry.VisualStudio

  • Set your debug start action to Start external program and use the following path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
  • Set the Command line arguments to /rootsuffix Exp

Using the Extension

###Cloud Foundry Explorer

The Explorer is a TreeView that enables you to browse your organizations, view application states and delete apps and services. You can view the Cloud Foundry Eplorer window by opening it selecting View -> Other Windows -> Cloud Foundry Explorer or using the keyboard shortcut: Ctrl+K, Shift+C

####TreeView Nodes

  • CloudFoundryTarget
  • actions: refresh, remove
  • details: version, url, username, ignore ssl errors
  • Organization
  • actions: refresh
  • details: current roles in org, org name, when it was created
  • Space
  • actions: refresh
  • details: current roles in space, space name, when it was created
  • App
  • actions: browse, start, restart, stop, delete
  • details: when it was created, name, buildpack, max memory, instance count
  • Service
  • actions: delete
  • details: current roles in org, org name, when it was created
  • Route
  • actions: delete
  • details: domain for route, apps bound to route

###Publish app to Cloud Foundry You can push a Web Application to Cloud Foundry using the cf-msbuild-tasks - https://github.com/hpcloud/cf-msbuild-tasks

  • Add nuget package cf-msbuild-tasks in your project
  • Right click on your web project -> Publish to Cloud Foundry
  • Fill out the publish form and click Publish or save your publish profile for later.

##Contributing We are looking forward to contributions from the Cloud Foundry community. Feel free to open a pull request or an issue if you find one.

cf-vs-extension's People

Contributors

florindragos avatar gertd avatar hcf-bot avatar mihaibuzgau avatar

Watchers

 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.