From eb4c19859acb4e5a177123950b6e8d0287928501 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 30 Jul 2019 14:21:34 +0200 Subject: [PATCH] add keeper setup from dev-ocean --- content/setup/keeper.md | 21 --------------------- content/test.md | 4 ++-- external/dev-ocean | 2 +- gatsby-config.js | 11 +++++++++-- src/styles/_code.scss | 4 ++++ src/styles/global.scss | 5 ++--- 6 files changed, 18 insertions(+), 29 deletions(-) delete mode 100644 content/setup/keeper.md diff --git a/content/setup/keeper.md b/content/setup/keeper.md deleted file mode 100644 index 891616e8..00000000 --- a/content/setup/keeper.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Run a Keeper -description: How to run a keeper node. ---- - -If you want to run a [keeper node (keeper)](/concepts/components#keeper), you have several options. Some of them are outlined below. - -## Using Barge - -[Barge](https://github.com/oceanprotocol/barge) uses Docker Compose to run one or more keeper nodes (and other components) in Docker containers on your local machine. - -- If you use `--local-pacific-node`, or `--local-nile-node`, then it will run one local Parity Ethereum node (as a _user node_, i.e. a non-voting node) and it will connect that node to the [Pacific Network](/concepts/pacific-network/) or [Nile Testnet](/concepts/testnets/#the-nile-testnet), respectively. -- If you use `--local-spree-node` or `--local-ganache-node`, then it will run a strictly-local [Spree Testnet](/concepts/testnets/#a-spree-testnet-for-local-development) or [Ganache-Based Testnet](/concepts/testnets/#a-ganache-based-testnet-for-local-development). - -Barge deploys the keeper contracts to whatever keeper nodes are deployed locally. - -## Running a Keeper in the Pacific Network or Nile Testnet - -If you're interested in running a keeper node (as a voting _authority node_) in the [Pacific Network](/concepts/pacific-network/) or the [Nile Testnet](/concepts/testnets/#the-nile-testnet), then email info@oceanprotocol.com. - -> The dev-ocean repository contains a guide for [running a keeper node in the Nile Testnet](https://github.com/oceanprotocol/dev-ocean/blob/master/doc/devops/keeper-setup.md). diff --git a/content/test.md b/content/test.md index f0ee63f5..a1f615d0 100644 --- a/content/test.md +++ b/content/test.md @@ -394,12 +394,12 @@ Resulting in: You can embed any file contents like so, note that the language needs to be defined manually to get proper syntax highlighting: ```markdown -GITHUB-EMBED https://github.com/oceanprotocol/squid-js/blob/develop/src/keeper/Web3Provider.ts js GITHUB-EMBED +GITHUB-EMBED https://github.com/oceanprotocol/squid-js/blob/master/src/keeper/Web3Provider.ts js GITHUB-EMBED ``` Resulting in: -GITHUB-EMBED https://github.com/oceanprotocol/squid-js/blob/develop/src/keeper/Web3Provider.ts js GITHUB-EMBED +GITHUB-EMBED https://github.com/oceanprotocol/squid-js/blob/master/src/keeper/Web3Provider.ts js GITHUB-EMBED ## Swagger spec references diff --git a/external/dev-ocean b/external/dev-ocean index 09c02d9f..b5b2bea3 160000 --- a/external/dev-ocean +++ b/external/dev-ocean @@ -1 +1 @@ -Subproject commit 09c02d9f4a7fd51a78fc1fdf44ca0b05de00eecb +Subproject commit b5b2bea3e92380113911ed4051bba6e1375c212c diff --git a/gatsby-config.js b/gatsby-config.js index b809141f..9bfd350f 100755 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -101,8 +101,15 @@ module.exports = { options: { colorTheme: 'Quiet Light', injectStyles: false, - extensions: [], - languageAliases: { text: 'log' } + extensions: [ + { + identifier: 'bungcip.better-toml', + version: '0.3.2' + } + ], + languageAliases: { + text: 'log' + } } }, 'gatsby-remark-copy-linked-files', diff --git a/src/styles/_code.scss b/src/styles/_code.scss index 8f69b48a..c4a4c973 100644 --- a/src/styles/_code.scss +++ b/src/styles/_code.scss @@ -124,6 +124,10 @@ pre[data-language='markdown']:before { content: 'markdown'; } +pre[data-language='toml']:before { + content: 'toml'; +} + .gatsby-code-title { background: lighten($brand-grey-light, 35%); padding: $spacer / 4 $spacer / 2; diff --git a/src/styles/global.scss b/src/styles/global.scss index 824958da..7b6d884d 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -76,7 +76,6 @@ ol { content: counter(ol-counter) '.'; counter-increment: ol-counter; font-family: $font-family-button; - top: -1px; } } @@ -104,14 +103,14 @@ ol { } + li { - margin-top: $spacer / 8; + margin-top: $spacer / 3; } ul, ol, p { margin-bottom: 0; - margin-top: $spacer / 8; + margin-top: $spacer / 3; } } }