Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
Cleanup & update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
emielvanderhoek committed Mar 3, 2020
1 parent 1bba7e1 commit 29767be
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 407 deletions.
48 changes: 25 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,45 @@
# Polkascan PRE
Polkascan PRE Main Application
# Polkascan Open-Source
Polkascan Open-Source Application

## Run application
## Run application for a development network
The following steps will run a full Polkascan-stack that harvests blocks from a new local network.

* Make sure to also clone submodules within the cloned directory:
### Step 1: Clone repository:
```bash
git submodule update --init --recursive
git clone https://github.com/polkascan/polkascan-pre.git
```
* During the first run let MySQL initialize (wait for about a minute)

### Step 2: Change directory:
```bash
docker-compose -p dev -f docker-compose.yml up -d mysql
cd polkascan-pre
```
* Then build the other docker containers
### Step 3: Check available releases:
```bash
docker-compose -p dev -f docker-compose.yml up --build
git tag
```

This will harvest blocks from a new local network, for existing networks replace the mentioned docker-compose.yml with:

* Kusama network
### Step 4: Checkout latest releases:
```bash
docker-compose -p kusama -f docker-compose.kusama.yml up --build
git checkout v0.x.x
```
* Alexander test network
### Step 5: Make sure to also clone submodules within the cloned directory:
```bash
docker-compose -p alexander -f docker-compose.alexander.yml up --build
git submodule update --init --recursive
```
* Edgeware test network
### Step 6: During the first run let MySQL initialize (wait for about a minute)
```bash
docker-compose -p edgeware -f docker-compose.edgeware.yml up --build
docker-compose -p dev -f docker-compose.yml up -d mysql
```
* Robonomics test network
### Step 7: Then build the other docker containers
```bash
docker-compose -p robonomics -f docker-compose.robonomics.yml up --build
docker-compose -p dev -f docker-compose.yml up --build
```
* Joystream test network

## Run application for existing public networks
For existing public networks use the following commands in step 6 & 7 respectively:

### Kusama
```bash
docker-compose -p joystream -f docker-compose.joystream.yml up --build
docker-compose -p kusama -f docker-compose.kusama.yml up -d mysql
docker-compose -p kusama -f docker-compose.kusama.yml up --build
```

## Links
Expand Down
138 changes: 0 additions & 138 deletions docker-compose.edgeware.yml

This file was deleted.

124 changes: 0 additions & 124 deletions docker-compose.joystream.yml

This file was deleted.

Loading

0 comments on commit 29767be

Please sign in to comment.