зеркало из https://github.com/aspnet/MusicStore.git
modified readme based on pr comments, deleted build.cmd and lkg.json
This commit is contained in:
Родитель
9e57f01a48
Коммит
82ac180535
10
README.md
10
README.md
|
@ -5,7 +5,7 @@
|
|||
The first thing we need to do is setup the tools required to build and run an application.
|
||||
|
||||
* If you already have ```kvm``` installed on the machine ignore the steps below.
|
||||
* Clone UpdateToLatest branch from [Home] (https://github.com/aspnet/Home) repository
|
||||
* Clone [Home] (https://github.com/aspnet/Home) repository
|
||||
* On the command line, cd to Home repository and execute ```kvm setup```
|
||||
* This command will download the latest version of the SDK and put it on your path so that you can run the rest of the commands in the readme. If you want to know more about what this is doing then you can read the [KVM page](https://github.com/aspnet/Home/wiki/version-manager) of the wiki.
|
||||
* On the command line execute ```kvm install 0.1-alpha-build-0421```
|
||||
|
@ -31,17 +31,13 @@ By default the app runs on desktop CLR. To switch to run the app on CoreCLR foll
|
|||
* If you want to run on SelfHost against core clr, follow steps for running the application from 'Run the application' section
|
||||
|
||||
### Adding a new package:
|
||||
1. Edit the project.json to include the package you want to install
|
||||
2. Do a ```kpm restore``` - This will restore the package and regenerate your csproj files to get intellisense for the installed packages.
|
||||
1. Edit the project.json to include the package you want to install.
|
||||
2. Do a ```kpm restore``` - This will restore the package in the project.
|
||||
|
||||
### Work against the latest build:
|
||||
1. Run ```Clean.cmd``` - This will clear all the packages and any temporary files generated
|
||||
2. Continue the topic "Run the application"
|
||||
|
||||
### Work against LKG Build:
|
||||
1. Everytime you do a ```kpm restore``` you will get the latest packages of all the included packages. If you would like to go back to an LKG build checkout the *LKG.json* file in the MusicStore folder.
|
||||
2. This is a captured snapshot of build numbers which worked for this application. This LKG will be captured once in a while.
|
||||
|
||||
### Note:
|
||||
1. Application is started on different ports on different hosts. To change the port or URL modify ```Helios.cmd``` or project.json commands section in case of self-host and customhost.
|
||||
2. Use Visual studio only for editing & intellisense. Don't try to build or run the app from Visual studio.
|
||||
|
|
26
build.cmd
26
build.cmd
|
@ -1,26 +0,0 @@
|
|||
@echo off
|
||||
cd %~dp0
|
||||
|
||||
SETLOCAL
|
||||
SET CACHED_NUGET=%LocalAppData%\NuGet\NuGet.exe
|
||||
|
||||
IF EXIST %CACHED_NUGET% goto copynuget
|
||||
echo Downloading latest version of NuGet.exe...
|
||||
IF NOT EXIST %LocalAppData%\NuGet md %LocalAppData%\NuGet
|
||||
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "$ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest 'https://www.nuget.org/nuget.exe' -OutFile '%CACHED_NUGET%'"
|
||||
|
||||
:copynuget
|
||||
IF EXIST .nuget\nuget.exe goto restore
|
||||
md .nuget
|
||||
copy %CACHED_NUGET% .nuget\nuget.exe > nul
|
||||
|
||||
:restore
|
||||
IF EXIST packages\KoreBuild goto run
|
||||
.nuget\NuGet.exe install KoreBuild -ExcludeVersion -o packages -nocache -pre
|
||||
.nuget\NuGet.exe install Sake -version 0.2 -o packages -ExcludeVersion
|
||||
CALL packages\KoreBuild\build\kvm upgrade -svr50 -x86
|
||||
CALL packages\KoreBuild\build\kvm install default -svrc50 -x86
|
||||
|
||||
:run
|
||||
CALL packages\KoreBuild\build\kvm use default -svr50 -x86
|
||||
packages\Sake\tools\Sake.exe -I packages\KoreBuild\build -f makefile.shade %*
|
|
@ -1,7 +0,0 @@
|
|||
|
||||
var VERSION='0.1'
|
||||
var FULL_VERSION='0.1'
|
||||
var AUTHORS='Microsoft'
|
||||
|
||||
use-standard-lifecycle
|
||||
k-standard-goals
|
|
@ -1,62 +0,0 @@
|
|||
{
|
||||
"version": "0.1-alpha-*",
|
||||
"dependencies": {
|
||||
"Helios": "0.1-alpha-build-0489",
|
||||
"Microsoft.AspNet.Http": "0.1-alpha-381",
|
||||
"Microsoft.AspNet.Mvc": "0.1-alpha-build-1047",
|
||||
"Microsoft.AspNet.Razor": "0.1-alpha-187",
|
||||
"Microsoft.Framework.ConfigurationModel": "0.1-alpha-214",
|
||||
"Microsoft.Framework.DependencyInjection": "0.1-alpha-build-0345",
|
||||
"Microsoft.AspNet.RequestContainer": "0.1-alpha-build-0477",
|
||||
"Microsoft.AspNet.Routing": "0.1-alpha-build-0478",
|
||||
"Microsoft.AspNet.Mvc.ModelBinding": "0.1-alpha-build-1047",
|
||||
"Microsoft.AspNet.Mvc.Core": "0.1-alpha-build-1047",
|
||||
"Microsoft.AspNet.Mvc.Razor": "0.1-alpha-build-1047",
|
||||
"Microsoft.AspNet.StaticFiles": "0.1-alpha-build-0367",
|
||||
"System.Security.Claims": "0.1-alpha-build-0230",
|
||||
"System.Security.Principal": "4.0.0.0",
|
||||
"Microsoft.AspNet.Security.DataProtection": "0.1-alpha-148",
|
||||
"Microsoft.AspNet.Identity": "0.1-alpha-build-0805",
|
||||
"Microsoft.AspNet.Identity.Entity": "0.1-alpha-build-0805",
|
||||
"Microsoft.AspNet.Identity.InMemory": "0.1-alpha-build-0805",
|
||||
"Microsoft.AspNet.Identity.Security": "0.1-alpha-build-0805",
|
||||
"Microsoft.Data.Entity": "0.1-alpha-build-0686",
|
||||
"Microsoft.Data.Entity.Relational": "0.1-alpha-build-0686",
|
||||
"Microsoft.Data.Entity.SqlServer": "0.1-alpha-build-0686",
|
||||
"Microsoft.Data.Entity.InMemory": "0.1-alpha-build-0686",
|
||||
"Microsoft.Data.Entity.Migrations": "0.1-alpha-build-0686",
|
||||
"Microsoft.AspNet.Diagnostics": "0.1-alpha-build-0522",
|
||||
"Microsoft.AspNet.Hosting": "0.1-alpha-build-0477",
|
||||
"Microsoft.AspNet.Server.WebListener": "0.1-alpha-build-0423",
|
||||
"Microsoft.Framework.ConfigurationModel.Json": "0.1-alpha-214",
|
||||
"Microsoft.AspNet.Security": "0.1-alpha-build-0401",
|
||||
"Microsoft.AspNet.Security.Cookies": "0.1-alpha-build-0401"
|
||||
},
|
||||
"configurations": {
|
||||
"net45": {
|
||||
"dependencies": {
|
||||
"System.Runtime": "",
|
||||
"System.ComponentModel.DataAnnotations": "",
|
||||
"System.Data": ""
|
||||
}
|
||||
},
|
||||
"k10": {
|
||||
"dependencies": {
|
||||
"System.Collections": "4.0.0.0",
|
||||
"System.Linq": "4.0.0.0",
|
||||
"System.Runtime": "4.0.20.0",
|
||||
"System.Runtime.Extensions": "4.0.10.0",
|
||||
"System.Dynamic.Runtime": "4.0.0.0",
|
||||
"System.Threading.Tasks": "4.0.10.0",
|
||||
"System.ComponentModel": "4.0.0.0",
|
||||
"System.Console": "4.0.0.0",
|
||||
"System.Diagnostics.Debug": "4.0.10.0",
|
||||
"System.Diagnostics.Tools": "4.0.0.0",
|
||||
"Microsoft.DataAnnotations": "0.1-alpha-build-0097",
|
||||
"System.Reflection": "4.0.10.0",
|
||||
"System.Reflection.Extensions": "4.0.0.0",
|
||||
"System.IO": "4.0.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче