Skip to content

Commit 1b7ae20

Browse files
Eilonglennc
authored andcommitted
Text cleanup
1 parent f37488f commit 1b7ae20

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

GettingStartedDeb.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
> Tested on: Ubuntu 14.04, Mint 17.01
22
3-
As with all other operating systems you need DNVM to get going with ASP.NEt 5. To get it you run curl to download a .sh file and then run it. However, getting a new Linux machine configured to be able to actually run an ASP.NET 5 application is more complicated.
3+
As with all other operating systems you need DNVM to get going with ASP.NET 5. To get it you run `curl` to download a `.sh` file and then run it. To configure a Linux machine to run an ASP.NET 5 application use the following instructions.
44

5-
To setup our Linux machine we will:
5+
The steps to set up a Linux machine are:
66

77
* Get a working version of Mono
88
* Get and compile libuv (Required for the Kestrel server)
99
* Get DNVM
1010
* Add sources to NuGet.config (For package restore)
1111

12-
###Docker
12+
### Docker
1313

14-
There are instructions on how to use the ASP.NET [Docker](https://www.docker.com/) image here: http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx
14+
Instructions on how to use the ASP.NET [Docker](https://www.docker.com/) image here: http://blogs.msdn.com/b/webdev/archive/2015/01/14/running-asp-net-5-applications-in-linux-containers-with-docker.aspx
1515

16-
The rest of this section deals with setting up a machine to run applications without the docker image.
16+
The rest of this section deals with setting up a machine to run applications without the Docker image.
1717

1818
### Get Mono
1919

20-
Mono is how .NET applications can run on platforms other than Windows, it is an ongoing effort to port the .NET framework to other platforms. In the process of developing ASP.NET 5 we worked with the Mono team to fix some bugs and add some features that we needed to run ASP.NET applications. Because these changes haven't yet made it into an official Mono release we will either grab a Mono nightly build or compile Mono from source.
20+
Mono is how .NET applications can run on platforms other than Windows. Mono is an ongoing effort to port the .NET Framework to other platforms. In the process of developing ASP.NET 5 we worked with the Mono team to fix some bugs and add features that are needed to run ASP.NET applications. Because these changes haven't yet made it into an official Mono release we will either grab a Mono nightly build or compile Mono from source.
2121

22-
#### Option 1: CI build
22+
#### Option 1: Mono CI build
2323

2424
The Mono CI server builds packages for Linux distributions on each commit. To get them you install a particular snapshot and then run `mono-snapshot APP/VER` to change the current shell to use the provided snapshot. In these instructions we will grab the latest snapshot and set it to be the one to use.
2525

@@ -36,7 +36,7 @@ sudo apt-get install mono-snapshot-latest
3636
```
3737
**NOTE:** Official Mono instructions that these steps come from are here: http://www.mono-project.com/docs/getting-started/install/linux/ci-packages/.
3838

39-
#### Option 2: Build from source
39+
#### Option 2: Build Mono from source
4040

4141
Building Mono from source can take some time, and the commands below will install the built version of Mono on your machine replacing any version you might already have.
4242

@@ -55,7 +55,7 @@ mozroots --import --sync
5555

5656
See http://www.mono-project.com/docs/compiling-mono/linux/ for more details and some other build options.
5757

58-
**NOTE:** Mono on Linux before 3.12 by default didnt trust any SSL certificates so you got errors when accessing HTTPS resources. This is not required anymore as 3.12 and later include a new tool that runs on package installation and syncs Monos certificate store with the system certificate store (on older versions you have to import Mozillas list of trusted certificates by running `mozroots --import --sync`. If you get exceptions during package restore this is the most likely reason.
58+
**NOTE:** Mono on Linux before 3.12 by default didn't trust any SSL certificates so you got errors when accessing HTTPS resources. This is not required anymore as 3.12 and later include a new tool that runs on package installation and syncs Mono's certificate store with the system certificate store (on older versions you have to import Mozilla's list of trusted certificates by running `mozroots --import --sync`. If you get exceptions during package restore this is the most likely reason.
5959

6060
### Get libuv
6161

@@ -75,26 +75,26 @@ sudo rm -rf /usr/local/src/libuv-1.4.2 && cd ~/
7575
sudo ldconfig
7676
```
7777

78-
**NOTE:** `make install` puts `libuv.so.1` in `/usr/local/lib`, in the above commands `ldconfig` is used to update `ld.so.cache` so that `dlopen` (see man dlopen) can load it. If you are getting libuv some other way or not running `make install` then you need to ensure that dlopen is capable of loading `libuv.so.1`
78+
**NOTE:** `make install` puts `libuv.so.1` in `/usr/local/lib`, in the above commands `ldconfig` is used to update `ld.so.cache` so that `dlopen` (see `man dlopen`) can load it. If you are getting libuv some other way or not running `make install` then you need to ensure that dlopen is capable of loading `libuv.so.1`.
7979

8080
### Get DNVM
8181

82-
Now lets get DNVM. To do this run:
82+
Now let's get DNVM. To do this run:
8383

8484
```
8585
curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.sh | DNX_BRANCH=dev sh && source ~/.dnx/dnvm/dnvm.sh
8686
```
8787

8888
(TODO: Need to change dnvinstall.sh to actually put it in bin. It doesn't at the moment but should.
89-
dnvminstall.sh grabs and copies dnvm.sh into your Home directory (~/.dnx/bin) and sources it. It will also try and find bash or zsh profiles and add a call to source dnvm to them so that dnvm will be available all the time. If you don't like this behaviour or want to do something else then you can edit your profile after running dnvminstall.sh or do all the tasks dnvminstall does changing what you like.
89+
dnvminstall.sh grabs and copies dnvm.sh into your Home directory (~/.dnx/bin) and sources it. It will also try and find bash or zsh profiles and add a call to source dnvm to them so that dnvm will be available all the time. If you don't like this behaviour or want to do something else then you can edit your profile after running dnvminstall.sh or do all the tasks dnvminstall does changing what you like.)
9090

9191
Once this step is complete you should be able to run `dnvm` and see some help text.
9292

9393
# Add Sources to NuGet.config
9494

9595
Now that we have DNVM and the other tools needed to run an ASP.NET application we need to add the development configuration sources to get nightly builds of all the ASP.NET packages.
9696

97-
The nightly package source is: https://www.myget.org/F/aspnetvnext/api/v2/
97+
The nightly package source is: `https://www.myget.org/F/aspnetvnext/api/v2/`
9898

9999
To add this to your package sources you need to edit the NuGet.config.
100100

@@ -111,4 +111,4 @@ The NuGet.config file should look something like the following:
111111
<disabledPackageSources />
112112
</configuration>
113113
```
114-
The important part of this is that you have a package source with aspnetvnext and nuget.org in it.
114+
The important part of this is that you have a package source with aspnetvnext and nuget.org in it.

0 commit comments

Comments
 (0)