GithubHelp home page GithubHelp logo

isabella232 / sample-netcoremvc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sunilake/sample-netcoremvc

0.0 0.0 0.0 943 KB

Sample .NET Core MVC Application with docker for deployment to Apprenda

JavaScript 1.19% C# 97.50% PowerShell 0.47% CSS 0.83%

sample-netcoremvc's Introduction

Sample .NET Core MVC Application with docker

Sample .NET Core MVC Application with docker for deployment to Apprenda

The repository contains basic .NET Core MVC template provided by Microsoft with the addition of a Dockerfile for packaging in a docker container. Additionally, an Apprenda archive is provided if you wish to deploy to an Apprenda environment with docker enabled.

There are two options to follow in order to deploy in your environment:

  1. Deploy the already provided and built docker image
  2. Build the application and your own docker image for deployment

Deploying Existing Image

  1. Deploy the Archive.zip file to Apprenda as a new application. The file is provided within the archive folder in this repository.

Building your Own Image

  1. Navigate to the src directory of the repository
  2. Run "dotnet publish" in order to build and publish your application files.
  3. Build a docker image using the provided Dockerfile and push to your repository of choice.
  4. Modify the DeploymentManifest file provided in the archive folder with the correct information (Image Name).
  5. Zip the linuxServices and DeploymentManifest files to create an Apprenda Archive.
  6. Deploy to Apprenda.

Deploying to Kubernetes

If you want to deploy this application to Kubernetes, you can use the provided Deployment spec located in the archive folder of this repository.

sample-netcoremvc's People

Contributors

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