Skip to content

Install From Source

kiwidev001 edited this page Mar 24, 2022 · 8 revisions

Install From Source

Install Python 3.7+

$ sudo apt-get install python3 python3-venv git
or
$ sudo yum install -y python3 git

Install Kiwi

$ mkdir kiwi && cd kiwi
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/kiwihealthcare-network/kiwi-blockchain/main/install_scripts/installLinux.sh)"

If you encounter any problems using the above script. Please try to clone the source in latest branch and run "sh install.sh" script.

Install from latest branch

git clone https://github.com/kiwihealthcare-network/kiwi-blockchain.git -b latest --recurse-submodules
git submodule update --init --recursive
cd kiwi-blockchain

sh install.sh

. ./activate

Run Kiwi

$ cd kiwi
$ . ./activate

$ kiwi init
$ kiwi plots add -d /path/to/plots
$ kiwi start farmer
...

Install and Run Timelord

$ cd kiwi
$ . ./activate
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/kiwihealthcare-network/kiwi-blockchain/main/install_scripts/install-timelord.sh)"
$ kiwi start timelord
...

Clone this wiki locally