Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Update notes and prepare for rococo-v1 compatability #50

Merged
merged 17 commits into from
May 3, 2021
Merged
Show file tree
Hide file tree
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
31 changes: 0 additions & 31 deletions .github/workflows/build-images.yml

This file was deleted.

41 changes: 0 additions & 41 deletions .github/workflows/build-publish-images.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/link-check.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
.vscode
# Setting for non zero-installs (https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored)
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
3 changes: 1 addition & 2 deletions Dockerfile/parachain-collator.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ FROM debian:stretch-slim
COPY --from=builder /builds/substrate-parachain-template/target/release/parachain-collator .

## Copy chainspecs into the image
COPY shared/chainspecs/rococo-local.json .
COPY shared/chainspecs/rococo-custom.json .
COPY shared/chainspecs/rococo-3.json .
COPY shared/chainspecs/rococo-4.json .

# Open default ports. User is responsible for re-mapping these
# or using host or overlay networking.
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile/polkadot.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ FROM debian:stretch-slim
COPY --from=builder /builds/polkadot/target/release/polkadot .

## Copy chainspecs into the image
COPY shared/chainspecs/rococo-local.json .
COPY shared/chainspecs/rococo-custom.json .
COPY shared/chainspecs/rococo-3.json .
COPY shared/chainspecs/rococo-4.json .

# Open default ports. User is responsible for re-mapping these
# or using host or overlay networking.
Expand Down
2 changes: 1 addition & 1 deletion _navbar.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
- Translations
- [:us: English](/en/)
- [:cn: 简体中文](/zh-cn/)
<!-- - [:cn: 简体中文](/zh-cn/) -->
Binary file removed assets/img/arch.png
Binary file not shown.
Binary file modified assets/img/registration-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 16 additions & 17 deletions en/1-prep/1-compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,33 @@ transferring assets between chains, and developing your own parachain runtimes.
will be some significant compiling if you intend to build everything yourself. (Compiling the
Polkadot and parachain template nodes can be avoided if you prefer to use the Docker images.)

## Shortening the Workshop

<!-- FIXME: docker for this is presently not maintained. Instead we use polkadot-launch as a "fast" way to build once you -->
<!-- ## Shortening the Workshop -->

<!-- If you intend to use this material for a live workshop you may shorten it by cutting steps off of
the end. If your workshop will not cover writing your own parachains, you may skip all the
compilation by using the provided docker images. -->

<!--
If you prefer to focus primarily on development in your workshop, you may also skip initial relay
chain setup by performing those steps yourself in preparation for the workshop or using the public
rococo testnet. See [Setting Up The Bootnode](../SettingUpTheBootnode.md) for notes on setting up a
cloud-based relay chain.
cloud-based relay chain.
-->

## Install Substrate Prerequisites

> You may skip this step if you will not develop your own runtimes, and prefer docker to locally
> built binaries.
<!-- > You may skip this step if you will not develop your own runtimes, and prefer docker to locally
> built binaries. -->

The Substrate Developer Hub describes setting up a local development environment. Follow the
instructions at https://substrate.dev/docs/en/knowledgebase/getting-started/

> This workshop is known to work on Linux, MacOS, and Windows Subsystem for Linux. It is recommended
> you use one of those platforms. If you must build naively on Windows, try the DevHub's
> [Windows Setup Instructions](https://substrate.dev/docs/en/knowledgebase/getting-started/windows-users).
> Support for executing this workshop on Windows will be made on a best-effort basis, but no
> guarantees are made.

## Building a Relay Chain Node

> You may skip this step if you prefer to use docker to run nodes.
<!-- > You may skip this step if you prefer to use docker to run nodes. -->

Clone the Polkadot repository, and build the node. We are using a specific commit for this workshop.
Clone the Polkadot repository, and build the node. We are using a [specific commit](../README#versions-of-software) for this workshop.
Perform these steps in your typical workspace directory.

```bash
Expand All @@ -45,10 +42,11 @@ git clone https://github.com/paritytech/polkadot.git
cd polkadot

# Checkout the proper commit
git checkout 46c826f
# SEE THE README OF THE WORKSHOP FOR THIS!
git checkout <set this yourself>

# Build the Relay Chain Node
cargo build --release --features=real-overseer
# Build the relay chain Node
cargo build --release

# Print the help page to ensure the node build correctly
./target/release/polkadot --help
Expand Down Expand Up @@ -79,7 +77,8 @@ git clone https://github.com/substrate-developer-hub/substrate-parachain-templa
cd substrate-parachain-template

# Checkout the proper commit
git checkout 465d539
# SEE THE README OF THE WORKSHOP FOR THIS!
git checkout <set this yourself>

# Build the parachain template collator
cargo build --release
Expand Down
Loading