Skip to content

Commit

Permalink
Update build_instruction.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qftgtr committed Jul 10, 2020
1 parent 895ffaf commit 0ec99ee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions build_instruction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Run or build Substrate IDE from source

## Required
## Requirements

- [Node.js v12](https://nodejs.org/en/)
- [Git](https://git-scm.com)
Expand All @@ -10,23 +10,23 @@

1. Create a new folder `substrate` and switch to it

2. Run `git clone` to clone 3 repositories under `substrate` folder:
2. Run the following commands to clone 3 repositories under `substrate` folder:

``` bash
$ git clone https://github.com/ObsidianLabs/SubstrateIDE.git
$ git clone https://github.com/ObsidianLabs/substrate-components.git
$ git clone https://github.com/ObsidianLabs/electron-components.git
```

3. Switch to `electron-components` folder and run `yarn && yarn build` to install and compile dependencies of *electron-components*
3. Switch to `electron-components` folder and run `yarn && yarn build` to install dependencies and compile libraries in *electron-components*

4. Switch to `substrate-components` folder and run `yarn && yarn build` to install and compile dependencies of *substrate-components*
4. Switch to `substrate-components` folder and run `yarn && yarn build` to install dependencies and compile libraries in *substrate-components*

5. Run `git submodule update --init` to download *polkadot-js* extension
5. Switch to `SubstrateIDE` folder and run `git submodule update --init` to download *polkadot-js* extension

6. Switch to `SubstrateIDE/extensions/polkadot-js` folder and run `yarn && yarn build` to install and compile dependencies of *polkadot-js*
6. Switch to `SubstrateIDE/extensions/polkadot-js` folder and run `yarn && yarn build` to install dependencies and compile *polkadot-js*

7. Switch to `SubstrateIDE` folder and run `yarn` to install dependencies of *Substrate IDE*
7. Go back to `SubstrateIDE` folder and run `yarn` to install dependencies for *Substrate IDE*

8. The production version of Substrate IDE uses [Font Awesome Pro](https://fontawesome.com/pro). If you want to run or build Substrate IDE with the pro version, please open `package.json` and replace `@fortawesome/fontawesome-free` with `@fortawesome/fontawesome-pro`, and run `yarn` again. You also need to provide your pro license as instructed [here](https://fontawesome.com/how-to-use/on-the-web/setup/using-package-managers#installing-pro).

Expand Down

0 comments on commit 0ec99ee

Please sign in to comment.