-
-
Save jkeam/a050c7f81f2929370cc360d84e7fa9e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get odo for linux | |
$ curl -OL https://mirror.openshift.com/pub/openshift-v4/clients/odo/v2.0.0/odo-linux-amd64 && mv odo-linux-amd64 odo && chmod u+x odo | |
$ export PATH=$PATH:$(pwd) | |
$ odo version | |
# Use git to check out the .NET Core application | |
$ git clone https://github.com/redhat-developer/s2i-dotnetcore-ex | |
$ cd s2i-dotnetcore-ex/app | |
$ git checkout dotnetcore-3.1 | |
# Create a new OpenShift project | |
$ export OCP_USER=$(oc whoami) | |
$ odo project create ${OCP_USER}-dotnet-demo | |
# Add a component for the .NET Core application | |
$ odo create dotnet:3.1 | |
# Make the .NET Core application accessible externally | |
$ odo url create | |
# Deploy the application | |
$ odo push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment