Forked from Joystream/joystream https://github.com/Joystream/joystream

Mokhtar Naamani cd7fd5c42c travis: env correctly 5 роки тому
res e6175dffc6 bump runtime - development branch monorepo 5 роки тому
src e6175dffc6 bump runtime - development branch monorepo 5 роки тому
.dockerignore e6d84638ff .dockerignore 5 роки тому
.editorconfig 411f6f59bd Initial commit 6 роки тому
.gitignore 7a0c74d776 ignore runtime folder symlink 6 роки тому
.travis.yml cd7fd5c42c travis: env correctly 5 роки тому
Cargo.lock b1e0c68561 build runtime from rome tagged release v6.8.0 5 роки тому
Cargo.toml b1e0c68561 build runtime from rome tagged release v6.8.0 5 роки тому
Dockerfile edad024185 update travis to push releases 5 роки тому
Dockerfile_experimental 8eee68b2a0 keep experimental dockerfile separate 5 роки тому
LICENSE 21c04d8e9a Create LICENSE 5 роки тому
README.md 470d2e4cb3 update some docker instructions in readme 5 роки тому
banner.svg 1864b6ab4d update banner.svg 5 роки тому
build-clean-start.sh b9b68ffa6c update README and build scripts 5 роки тому
build.rs 246860547a substrate v2: updated node template and dependencies 5 роки тому
raspberry-cross-build.sh 602c045872 raspberry build script 5 роки тому
setup.sh 46c6134c8b setup.sh 5 роки тому
validator-node_new.svg 2a966a1922 Added new repo cover 5 роки тому

README.md

 Nodes for Joystream

Joystream Full Node

Joystream node built on top of Substrate.

Follow the instructions below to download the software or build it from source. Further instructions for windows and mac can be found here. Linux should be similar to mac.

Binary releases

Downloads are available in releases.

Building from source

Initial setup

If you want to build from source you will need the Rust toolchain, openssl and llvm/libclang. You can install the required dependencies with:

git clone https://github.com/Joystream/substrate-node-joystream.git
cd substrate-node-joystream/
./setup.sh

If you prefer to use docker see building with docker.

Building

cargo build --release

Running a public node

Run the node and connect to the public testnet

cargo run --release

Installing a release build

This will install the executable joystream-node to your ~/.cargo/bin folder, which you would normally have in your $PATH environment.

cargo install --path ./

Now you can run

joystream-node

Development

Running a local development node

cargo run --release -- --dev

Cleaning development chain data

When making changes to the runtime library remember to purge the chain after rebuilding the node to test the new runtime.

cargo run --release -- purge-chain --dev

Docker

Building localy

A joystream-node can be compiled with give Dockerfile file:

# Build and tag a new image, which will compile joystream-node from source
docker build . -t joystream-node

# run a development chain with the image just created publishing the websocket port
docker run -p 9944:9944 joystream-node --dev --ws-external

Downloading joystream pre-built images from Docker Hub

docker pull joystream/node

Running a public node as a service

docker run -d -p 30333:30333 --name my-node joystream/node

# check status
docker ps

# monitor logs
docker logs --tail 100 -f my-node

[More advanced guide]()