Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions docs/getting-started/local-devnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ We will be using [pystarport](https://github.com/crypto-org-chain/chain-main/tre

## Install with Nix



### Install nix

Follow official instructions: https://nixos.org/download.html
Expand All @@ -33,33 +31,49 @@ $ cachix use crypto-com

### Install pystarport

Install the binded version, which install chain-maind together, and find it by the absolute path:

```
$ nix-env -iA pystarport -f https://github.com/crypto-com/chain-main/archive/master.tar.gz
```sh
$ nix profile install github:crypto-com/pystarport
```

Install the unbinded version of pystarport, which find whatever version of chain-maind it finds in `PATH`:
The `pystarport` will be available at path `~/.nix-profile/bin/pystarport`

```
$ nix-env -iA pystarport-unbind -f https://github.com/crypto-com/chain-main/archive/master.tar.gz
### Install chain-maind

```sh
$ nix profile install github:crypto-com/chain-main
```

## Install pystarport manually
The `chain-maind` will be available at path `~/.nix-profile/bin/chain-maind`

## Install manually

### Pre-requisites

- Python > 3.7.3
- [pystarport](https://github.com/crypto-com/pystarport)
- [chain-maind](https://github.com/crypto-org-chain/chain-main)

To install pystarport manually, run:
### Install pystarport

```sh
$ git clone https://github.com/crypto-com/pystarport.git
$ cd pystarport
$ pip install -e .
```
The `pystarport` will be available `/usr/local/bin/pystarport`

### Install chain-maind

```sh
$ git clone https://github.com/crypto-org-chain/chain-main.git
$ cd chain-main
$ pip3 install pystarport
$ make install
```

The `chain-maind` will be available at `$GOPATH/bin`

###

## Customize your devnet

Jump to next section to start it without customization.
Expand Down