Mokhtar Naamani 819c2049e6 storage-node integration tests: retry on wait for ipfs registration 4 лет назад
..
docs 8b34fc03d2 storage-node: prettier formatting 4 лет назад
packages 819c2049e6 storage-node integration tests: retry on wait for ipfs registration 4 лет назад
.eslintrc.js bf24ab0d1c Update eslint dependencies + required adjustments 4 лет назад
.gitignore f1e792e762 storage-node: introduce CLI typescript project 4 лет назад
.prettierignore 8ad9a1ba1f prettier ignore built files in storage-node/packages/cli/dist 4 лет назад
LICENSE.md 8b34fc03d2 storage-node: prettier formatting 4 лет назад
README.md 0018fc6575 storage-node: remove initialization of old versioned store from dev-init and bump types 4 лет назад
docker-compose.yaml 61d7166467 storage-node: compose file lowpower for ipfs daemon 4 лет назад
package.json 1a9b67f468 actions: make all linter checks --quiet 4 лет назад
start-dev.sh 861fa1b533 cleanup after running scripts 4 лет назад
stop-dev.sh 0e9cb895a1 rename some scripts, and drop .travis.yml 4 лет назад
storage-node_new.svg 34358429f8 move storage node into storage-node/ folder 4 лет назад
tsconfig.json 8b34fc03d2 storage-node: prettier formatting 4 лет назад

README.md

Storage Nodes for Joystream

This repository contains several Node packages, located under the packages/ subdirectory. See each individual package for details:

Installation

Requirements

This project uses yarn as Node package manager. It also uses some node packages with native components, so make sure to install your system's basic build tools.

On Debian-based systems:

$ apt install build-essential

On Mac OS (using homebrew):

$ brew install libtool automake autoconf

Building

$ yarn install

The command will install dependencies, and make a colossus executable available:

$ yarn colossus --help

Testing

Run an ipfs node and a joystream-node development chain (in separate terminals)

ipfs daemon
joystream-node --dev
$ yarn workspace storage-node test

Running a development environment, after starting the ipfs node and development chain

yarn storage-cli dev-init

This will configure the running chain with alice as the storage lead and with a known role key for the storage provider.

Run colossus in development mode:

yarn colossus --dev

Start pioneer ui:

yarn workspace pioneer start

Browse pioneer on http://localhost:3000/ You should find Alice account is the storage working group lead and is a storage provider.

Detailed Setup and Configuration Guide

For details on how to setup a storage node on the Joystream network, follow this step by step guide.