Skip to content

Commit 20386a6

Browse files
committed
Update README.md
Updated getting started
1 parent 3272360 commit 20386a6

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,30 @@ The samples provided are designed to show some of the features of the new framew
88

99
#Getting Started
1010

11+
The first thing we need to do is setup the tools required to build and run an application.
12+
13+
* Open a command prompt and execute
14+
15+
```
16+
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "(New-Object System.Net.WebClient).DownloadFile('http://bit.ly/1hrhEXf', 'temp.cmd'); .\temp setup; del temp.cmd"
17+
```
18+
19+
* 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/Preview/wiki/version-manager) of the wiki.
20+
1121
* Clone repository
12-
* Optionally add the repo directory to your path, see the note below.
13-
* Open a command prompt and navigate to the repository
14-
* Run GetLatestRuntime.cmd. This will download the SDK you will use to run your applications.
1522
* Navigate to samples\HelloConsole
1623
* Run ```K run```
1724
* You should see some compiler output and a message saying "Hello World"
1825

19-
**The K.cmd file in the root of this repo is designed to be able to be put in your path. It will probe various locations relative to your current directory to find the k tools that it should use. All the steps after this will assume you've done this, so that you can just type ```K Run``` from anywhere. If you choose not to then add the appropriate number of folder traversals (..\\) before each K command.**
20-
2126
#Samples
2227

2328
##Sandbox Samples
2429

2530
These samples, in this repo, are just basic starting points for you to experiment with features. Since there is no File->New Project we thought some simple samples to take the place of scaffolding would be convenient.
2631

27-
+ HelloConsole. This is just basic console app if you want to use it as a starting point. Use it the same as the console app from our earlier samples
28-
+ HelloWeb. This is a minimal startup class that shows welcome page and static file middleware. This is mostly for you to run through the steps in the readme and make sure you have everything setup and working correctly.
29-
+ HelloWebFx. This sample is a basic MVC app. It is not designed to show all the functionality of the new web stack, but to give you a starting point to play with features.
32+
+ [HelloConsole](https://github.com/aspnet/Preview/tree/master/samples/ConsoleApp). This is just basic console app if you want to use it as a starting point. Use it the same as the console app from our earlier samples
33+
+ [HelloWeb](https://github.com/aspnet/Preview/tree/master/samples/HelloWeb). This is a minimal startup class that shows welcome page and static file middleware. This is mostly for you to run through the steps in the readme and make sure you have everything setup and working correctly.
34+
+ [HelloWebFx](https://github.com/aspnet/Preview/tree/master/samples/HelloWebFx). This sample is a basic MVC app. It is not designed to show all the functionality of the new web stack, but to give you a starting point to play with features.
3035

3136
##[Feature Samples](https://github.com/aspnet/Entropy)
3237
The Entropy repo contains samples of specific features in isolation. Each directory contains just enough code to show an aspect of a feature.

0 commit comments

Comments
 (0)