Code Monkey home page Code Monkey logo

net-sample-app's Introduction

.NET Sample App

Push the app with no-start:

cf push environment -s windows2012R2 -b hwc_buildpack --no-start -p ./ViewEnvironment/

If Diego is enabled by default on your CF deployment, you can omit the --no-start flag.

If it's not, or if you're not sure, you'll need to install the Diego Enabler CLI plugin:

cf add-plugin-repo CF-Community http://plugins.cloudfoundry.org/
cf install-plugin Diego-Enabler -r CF-Community

Enable diego and start your app:

cf enable-diego environment
cf start environment

If you're having this problem pushing the application:

FAILED
Server error, status code: 400, error code: 210003, message: The host is taken: environment

try adding --random-route to the cf push command:

cf push environment -s windows2012R2 -b hwc_buildpack --no-start -p ./ViewEnvironment/ --random-route

to avoid the host names clashing.

Once your app is pushed, you can navigate to the app's URL and you will see all the VCAP variables. Add ?all= to get all the system variables too.

After your first push, you can simply push your updates without any additional command line arguments:

cf push environment

net-sample-app's People

Contributors

afortener avatar sneal avatar mhoran avatar christopherclark avatar crawsible avatar hdya avatar piotrjustyna avatar sunjaybhatia 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.