Skip to content

Commit

Permalink
chore: add dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
albttx committed Apr 24, 2024
1 parent 794b08d commit b00df64
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3"

# gnolang/gno
services:
docusaurus:
image: ghcr.io/gnolang/docs.gno.land:latest-dev
volumes:
- .:/app/docusaurus/docs
ports:
- 3000:3000

meilisearch:
image: getmeili/meilisearch
restart: unless-stopped
environment:
- MEILI_MASTER_KEY=xxx
- MEILI_NO_ANALYTICS=true
- MEILI_ENV=development
- MEILI_LOG_LEVEL=info
- MEILI_DB_PATH=/data.ms
ports:
- 7700:7700
#volumes:
# - ./data.ms:/data.ms
166 changes: 166 additions & 0 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
tutorialSidebar: [
'overview',
{
type: 'category',
label: 'Getting Started',
link: {type: 'doc', id: 'getting-started/getting-started'},
items: [
'getting-started/playground-start',
{
type: "category",
label: 'Local Setup',
items: [
'getting-started/local-setup/local-setup',
'getting-started/local-setup/working-with-key-pairs',
'getting-started/local-setup/premining-balances',
'getting-started/local-setup/setting-up-a-local-chain',
'getting-started/local-setup/browsing-gno-source-code',
]
},
],
},
{
type: 'category',
label: 'How-to Guides',
link: {type: 'doc', id: 'how-to-guides/how-to-guides'},
items: [
'how-to-guides/simple-contract',
'how-to-guides/simple-library',
'how-to-guides/testing-gno',
'how-to-guides/deploy',
'how-to-guides/write-simple-dapp',
'how-to-guides/creating-grc20',
'how-to-guides/connect-from-go',
'how-to-guides/connect-wallet-dapp',
],
},
{
type: 'category',
label: 'Concepts',
link: {type: 'doc', id: 'concepts/concepts'},
items: [
'concepts/realms',
'concepts/packages',
{
type: 'category',
label: 'Standard Libraries',
items: [
'concepts/standard-library/overview',
'concepts/standard-library/banker',
'concepts/standard-library/coin',
'concepts/standard-library/gnopher-hole-stdlib',
]
},
'concepts/gnovm',
'concepts/gno-language',
'concepts/testnets',
'concepts/effective-gno',
'concepts/proof-of-contribution',
'concepts/tendermint2',
'concepts/portal-loop',
'concepts/gno-modules',
'concepts/gno-test',
'concepts/from-go-to-gno',
],
},
{
type: 'category',
label: 'Gno Tooling',
link: {type: 'doc', id: 'gno-tooling/gno-tooling'},
items: [
'gno-tooling/cli/gno-tooling-gno',
'gno-tooling/cli/gno-tooling-gnokey',
'gno-tooling/cli/gno-tooling-gnodev',
'gno-tooling/cli/gno-tooling-gnoland',
{
type: 'category',
label: 'gnofaucet',
link: {type: 'doc', id: 'gno-tooling/cli/faucet/gno-tooling-gnofaucet'},
items: [
'gno-tooling/cli/faucet/running-a-faucet',
]
},
]
},
{
type: 'category',
label: 'Reference',
link: {type: 'doc', id: 'reference/reference'},
items: [
'reference/rpc-endpoints',
'reference/network-config',
{
type: 'category',
label: 'Standard Libraries',
items: [
'reference/standard-library/overview',
{
type: 'category',
label: 'std',
items: [
'reference/standard-library/std/address',
'reference/standard-library/std/banker',
'reference/standard-library/std/coin',
'reference/standard-library/std/coins',
'reference/standard-library/std/chain',
'reference/standard-library/std/testing',
]
}
]
},
'reference/go-gno-compatibility',
{
type: 'category',
label: 'tm2-js-client',
link: {type: 'doc', id: 'reference/tm2-js-client/tm2-js-client'},
items: [
'reference/tm2-js-client/tm2-js-wallet',
{
type: 'category',
label: 'Provider',
items: [
'reference/tm2-js-client/Provider/tm2-js-provider',
'reference/tm2-js-client/Provider/tm2-js-json-rpc-provider',
'reference/tm2-js-client/Provider/tm2-js-ws-provider',
'reference/tm2-js-client/Provider/tm2-js-utility',
]
},
{
type: 'category',
label: 'Signer',
items: [
'reference/tm2-js-client/Signer/tm2-js-signer',
'reference/tm2-js-client/Signer/tm2-js-key',
'reference/tm2-js-client/Signer/tm2-js-ledger',
]
},
]
},
{
type: 'category',
label: 'gno-js-client',
link: {type: 'doc', id: 'reference/gno-js-client/gno-js-client'},
items: [
'reference/gno-js-client/gno-js-provider',
'reference/gno-js-client/gno-js-wallet',
]
},
{
type: 'category',
label: 'gnoclient',
link: {type: 'doc', id: 'reference/gnoclient/gnoclient'},
items: [
'reference/gnoclient/signer',
'reference/gnoclient/client'
]
},
],
},
],
};

module.exports = sidebars;

0 comments on commit b00df64

Please sign in to comment.