Skip to main content

Epinio samples

Samples of usage of Epinio to deploy workload with a command.

Angular

Run the following command to deploy the Angular application:

epinio push --name ngsample --path ngsample --env BP_WEB_SERVER=nginx --env BP_WEB_SERVER_ROOT=dist/ngsample --env BP_NODE_RUN_SCRIPTS=build --env BP_WEB_SERVER_ENABLE_PUSH_STATE=true
# NODE_ENV=development

References:

.NET

Run the following command to deploy an ASP.NET application:

epinio push --name aspnetapisample --path src/WebApi --env ASPNETCORE_ENVIRONMENT=Development

For Paketo Buildpacks to be able to create artifacts that run, the file Procfile must be added (see Override the Start Process Set by the Buildpack).

For example samples/dotnet/src/WebApi/Procfile:

web: dotnet EpinioDotnetSamples.WebApi.dll

React

Run the following command to deploy the application:

epinio push --name reactsample --path sample-app --env BP_WEB_SERVER=nginx --env BP_WEB_SERVER_ROOT=build --env BP_NODE_RUN_SCRIPTS=build --env BP_WEB_SERVER_ENABLE_PUSH_STATE=true

References: