forked from neo-project/neo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c7c1c6
commit 4eb90a3
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Publishing NEO CLI Source | ||
|
||
You can download and compile the Neo-CLI source directly from Github. | ||
|
||
## Setting up the environment | ||
|
||
Running of an NEO node requires installation of .NET Core Runtime, version 2.0 or above. | ||
|
||
For **Linux (ubuntu 17.10)**, install [.NET Core Runtime](https://www.microsoft.com/net/download/linux). | ||
|
||
For **Windows 7** and **Windows 10**, install [.NET Core](<https://www.microsoft.com/net/download/windows>) and [.NET Framework](https://www.microsoft.com/net/download/windows). | ||
|
||
For **macOS**, install [.NET Core](https://www.microsoft.com/net/download/macos ). | ||
|
||
|
||
## Downloading NEO-CLI source | ||
|
||
Clone the neo-cli repository from Github: <https://github.com/neo-project/neo-cli.git> | ||
|
||
## Compiling from source | ||
|
||
To publish the NEO-CLI source, run the following command: | ||
|
||
For **Linux**: | ||
|
||
``` | ||
cd neo-cli | ||
dotnet restore | ||
dotnet publish -c release -r linux-x64 | ||
``` | ||
|
||
For **Windows 7**: | ||
|
||
``` | ||
cd neo-cli | ||
dotnet restore | ||
dotnet publish -c release -r win7-x64 | ||
``` | ||
|
||
For **Windows 10**: | ||
|
||
``` | ||
cd neo-cli | ||
dotnet restore | ||
dotnet publish -c release -r win10-x64 | ||
``` | ||
|
||
For **macOS**: | ||
|
||
``` | ||
cd neo-cli | ||
dotnet restore | ||
dotnet publish -c release -r osx-x64 | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters