From 7109a01bc741141163f1f278fd1781d1550b9232 Mon Sep 17 00:00:00 2001 From: Michael Friis Date: Mon, 2 Mar 2015 17:36:31 -0800 Subject: [PATCH 1/3] add .deployment file to specify what project to build --- .deployment | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .deployment diff --git a/.deployment b/.deployment new file mode 100644 index 0000000000..4b976d6dc5 --- /dev/null +++ b/.deployment @@ -0,0 +1,2 @@ ++[config] ++project = src/MusicStore/project.json From 0f5365e5e5ecb54e93ede35c5d0533a9aa993120 Mon Sep 17 00:00:00 2001 From: Michael Friis Date: Mon, 2 Mar 2015 17:37:46 -0800 Subject: [PATCH 2/3] add app.json --- app.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 0000000000..f90e28ec61 --- /dev/null +++ b/app.json @@ -0,0 +1,8 @@ +{ + "name": "MusicStore", + "description": "ASP.NET 5 Sample app", + "logo": "https://raw.githubusercontent.com/aspnet/MusicStore/master/src/MusicStore/wwwroot/Images/home-showcase.png", + "env": { + "BUILDPACK_URL": "https://github.com/heroku/dotnet-buildpack.git" + } +} From d03b3f2ac8b215877c3579360dbbae14ca65afb9 Mon Sep 17 00:00:00 2001 From: Michael Friis Date: Wed, 4 Mar 2015 10:15:57 -0800 Subject: [PATCH 3/3] add Heroku button to README --- README.md | 5 +++++ app.json | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6649a116d3..ca46334120 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,11 @@ This project is part of ASP.NET 5.0. You can find samples, documentation and get * Try `k kestrel` to run the application. **NOTE: On Mono since SQL client is not available the sample uses an InMemoryStore to run the application. So the changes that you make will not be persisted. +### Deploy on Heroku +To deploy MusicStore on Heroku, click the button below: + +[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy) + ###NTLM authentication More information at src/MusicStore/StartupNtlmAuthentication.cs. diff --git a/app.json b/app.json index f90e28ec61..b864e31592 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,6 @@ { "name": "MusicStore", - "description": "ASP.NET 5 Sample app", - "logo": "https://raw.githubusercontent.com/aspnet/MusicStore/master/src/MusicStore/wwwroot/Images/home-showcase.png", + "description": "ASP.NET 5 Music Store sample app", "env": { "BUILDPACK_URL": "https://github.com/heroku/dotnet-buildpack.git" }