Browse Source

docs: add indexing to data storage

fixing "data storage" part of #769
fix/update-miner-config
Alexander Graebe 4 years ago
parent
commit
988a255146
  1. 38
      next.config.js
  2. 18
      src/common/navigation.yaml
  3. 6
      src/pages/build-an-app.md
  4. 0
      src/pages/data-storage/indexing-collaborate.md
  5. 0
      src/pages/data-storage/indexing-models.md
  6. 7
      src/pages/data-storage/indexing-overview.md
  7. 2
      src/pages/data-storage/indexing-server-extras.md
  8. 10
      src/pages/data-storage/integrate-indexing.md

38
next.config.js

@ -48,27 +48,27 @@ async function redirects() {
}, },
{ {
source: '/develop/radiks-intro.html', source: '/develop/radiks-intro.html',
destination: '/data-indexing/overview', destination: '/data-storage/indexing-overview',
permanent: true, permanent: true,
}, },
{ {
source: '/develop/radiks-setup.html', source: '/develop/radiks-setup.html',
destination: '/data-indexing/integrate', destination: '/data-storage/integrate-indexing',
permanent: true, permanent: true,
}, },
{ {
source: '/develop/radiks-models.html', source: '/develop/radiks-models.html',
destination: '/data-indexing/models', destination: '/data-storage/indexing-models',
permanent: true, permanent: true,
}, },
{ {
source: '/develop/radiks-collaborate.html', source: '/develop/radiks-collaborate.html',
destination: '/data-indexing/collaborate', destination: '/data-storage/indexing-collaborate',
permanent: true, permanent: true,
}, },
{ {
source: '/develop/radiks-server-extras.html', source: '/develop/radiks-server-extras.html',
destination: '/data-indexing/server-extras', destination: '/data-storage/indexing-server-extras',
permanent: true, permanent: true,
}, },
{ {
@ -342,7 +342,7 @@ async function redirects() {
{ source: '/stacks-blockchain', destination: '/stacks-blockchain/overview', permanent: true }, { source: '/stacks-blockchain', destination: '/stacks-blockchain/overview', permanent: true },
{ source: '/smart-contracts', destination: '/smart-contracts/overview', permanent: true }, { source: '/smart-contracts', destination: '/smart-contracts/overview', permanent: true },
{ source: '/data-storage', destination: '/data-storage/overview', permanent: true }, { source: '/data-storage', destination: '/data-storage/overview', permanent: true },
{ source: '/data-indexing', destination: '/data-indexing/overview', permanent: true }, { source: '/data-indexing', destination: '/data-storage/indexing-overview', permanent: true },
{ source: '/stacks-wallet', destination: '/stacks-wallet/overview', permanent: true }, { source: '/stacks-wallet', destination: '/stacks-wallet/overview', permanent: true },
{ source: '/naming-services', destination: '/naming-services/overview', permanent: true }, { source: '/naming-services', destination: '/naming-services/overview', permanent: true },
{ source: '/storage-hubs', destination: '/storage-hubs/overview', permanent: true }, { source: '/storage-hubs', destination: '/storage-hubs/overview', permanent: true },
@ -368,6 +368,32 @@ async function redirects() {
destination: '/stacks-blockchain/atlas-usage', destination: '/stacks-blockchain/atlas-usage',
permanent: true, permanent: true,
}, },
// data indexing changes
{
source: '/data-indexing/overview',
destination: '/data-storage/indexing-overview',
permanent: true,
},
{
source: '/data-indexing/integrate',
destination: '/data-storage/integrate-indexing',
permanent: true,
},
{
source: '/data-indexing/models',
destination: '/data-storage/indexing-models',
permanent: true,
},
{
source: '/data-indexing/collaborate',
destination: '/data-storage/indexing-collaborate',
permanent: true,
},
{
source: '/data-indexing/server-extras',
destination: '/data-storage/indexing-server-extras',
permanent: true,
},
]; ];
} }

18
src/common/navigation.yaml

@ -35,13 +35,17 @@ sections:
- path: /storage-write-read - path: /storage-write-read
- path: /collections - path: /collections
- path: /collection-type - path: /collection-type
- path: /data-indexing sections:
pages: - title: Data Indexing
- path: /overview usePageTitles: true
- path: /integrate pages:
- path: /models - path: /indexing-overview
- path: /collaborate - path: /indexing-models
- path: /server-extras - path: /indexing-collaborate
- path: /indexing-server-extras
- title: Tutorials
pages:
- path: /integrate-indexing
- path: /stacks-blockchain - path: /stacks-blockchain
pages: pages:
- path: /overview - path: /overview

6
src/pages/build-an-app.md

@ -17,7 +17,7 @@ Prefer to jump right in? Get started with this tutorial where you’ll create a
Decentralized apps are apps that don’t depend on a centralized platform, server or database. Instead, they use a Decentralized apps are apps that don’t depend on a centralized platform, server or database. Instead, they use a
decentralized network, built on the Stacks blockchain, for [authentication](/authentication/overview), [data storage](/data-storage/overview), decentralized network, built on the Stacks blockchain, for [authentication](/authentication/overview), [data storage](/data-storage/overview),
and [backend logic](/data-indexing/overview). Just like Bitcoin, a decentralized network of applications is accessible to and [backend logic](/data-storage/indexing-overview). Just like Bitcoin, a decentralized network of applications is accessible to
anyone and not controlled by any central authority. anyone and not controlled by any central authority.
To learn more about the Blockstack network and decentralization, read the [Blockstack overview](/ecosystem/overview). To learn more about the Blockstack network and decentralization, read the [Blockstack overview](/ecosystem/overview).
@ -41,7 +41,7 @@ other apps without requiring permission or fear of being shut out.
## Getting started ## Getting started
To build your decentralized app, you’ll use [authentication](/authentication/overview), [data storage](/data-storage/overview), To build your decentralized app, you’ll use [authentication](/authentication/overview), [data storage](/data-storage/overview),
[data indexing](/data-indexing/overview) (optional), and [smart contracts](/smart-contracts/overview) (optional). [data indexing](/data-storage/indexing-overview) (optional), and [smart contracts](/smart-contracts/overview) (optional).
Get started with the documentation and tutorials below. Get started with the documentation and tutorials below.
### Authentication and data storage ### Authentication and data storage
@ -64,7 +64,7 @@ If you need to store and index data shared by multiple users, such as messages o
documentation. documentation.
[@page-reference | inline] [@page-reference | inline]
| /data-indexing/overview | /data-storage/indexing-overview
### Smart contracts ### Smart contracts

0
src/pages/data-indexing/collaborate.md → src/pages/data-storage/indexing-collaborate.md

0
src/pages/data-indexing/models.md → src/pages/data-storage/indexing-models.md

7
src/pages/data-indexing/overview.md → src/pages/data-storage/indexing-overview.md

@ -1,5 +1,5 @@
--- ---
title: Radiks title: Indexing overview
description: Using Radiks you can build multi-player apps that index, store, and query user data. description: Using Radiks you can build multi-player apps that index, store, and query user data.
images: images:
large: /images/pages/radiks.svg large: /images/pages/radiks.svg
@ -17,6 +17,11 @@ multi-player DApps that:
- display real-time updates that reflect in progress changes - display real-time updates that reflect in progress changes
- support collaboration among sets of users - support collaboration among sets of users
Want to jump right in and start integrating indexing into your app? Try this tutorial:
[@page-reference | inline]
| /data-storage/integrate-indexing
## Why use Radiks? ## Why use Radiks?
Many applications serve data that users create to share publicly with others. Facebook, Twitter, and Instagram are Many applications serve data that users create to share publicly with others. Facebook, Twitter, and Instagram are

2
src/pages/data-indexing/server-extras.md → src/pages/data-storage/indexing-server-extras.md

@ -1,5 +1,5 @@
--- ---
title: Radiks server tips and tricks title: Server tips and tricks
description: Some tips and tricks for working with a Radiks server. description: Some tips and tricks for working with a Radiks server.
--- ---

10
src/pages/data-indexing/integrate.md → src/pages/data-storage/integrate-indexing.md

@ -1,6 +1,14 @@
--- ---
title: Integrate Radiks title: Integrate Radiks
description: Learn how to setup Radiks with your application. description: Learn how to setup Radiks with your application
icon: BlockstackIcon
duration: 1 hour
experience: intermediate
tags:
- tutorial
images:
large: /images/pages/radiks.svg
sm: /images/pages/radiks-sm.svg
--- ---
## Introduction ## Introduction
Loading…
Cancel
Save