Skip to content

Commit

Permalink
Add how-to-build docs (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhaoyang committed Mar 27, 2019
1 parent 98f84fd commit 67dcdc1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/guides/how-to-build.md
@@ -0,0 +1,16 @@
# How to build project
This document helps people to compile and build the project.

## Build Project
**Because we are using Git submodule, we recommend don't use `GitHub` tag or release page to download source codes for compiling.**

### Build from GitHub
- Prepare git and .NET Core SDK.
- `git clone https://github.com/SkyAPM/SkyAPM-dotnet.git`
- `cd SkyAPM-dotnet/`
- Switch to the tag by using `git checkout [tagname]` (Optional, switch if want to build a release from source codes)
- `git submodule init`
- `git submodule update`
- Run `dotnet restore`
- Run `dotnet build src/SkyApm.Transport.Grpc.Protocol`
- Run `dotnet build skyapm-dotnet.sln`
File renamed without changes.
File renamed without changes.

0 comments on commit 67dcdc1

Please sign in to comment.