From 2eba9e893e62d18f90d8d5418d8866edc7c8838b Mon Sep 17 00:00:00 2001 From: Troy McConaghy Date: Wed, 14 Nov 2018 14:46:26 +0100 Subject: [PATCH 1/2] Set up detailed outline of initial tutorials --- content/tutorials/introduction.md | 16 +++++++++ content/tutorials/jupyter.md | 7 ---- .../tutorials/pleuston-get-compute-service.md | 0 content/tutorials/pleuston-get-data-set.md | 0 .../pleuston-publish-compute-service.md | 0 .../tutorials/pleuston-publish-data-set.md | 0 .../tutorials/python-get-compute-service.md | 0 content/tutorials/python-get-data-set.md | 0 .../python-publish-compute-service.md | 0 content/tutorials/python-publish-data-set.md | 0 data/sections.yml | 2 +- data/sidebars/tutorials.yml | 34 +++++++++++++++++-- 12 files changed, 48 insertions(+), 11 deletions(-) create mode 100644 content/tutorials/introduction.md delete mode 100644 content/tutorials/jupyter.md create mode 100644 content/tutorials/pleuston-get-compute-service.md create mode 100644 content/tutorials/pleuston-get-data-set.md create mode 100644 content/tutorials/pleuston-publish-compute-service.md create mode 100644 content/tutorials/pleuston-publish-data-set.md create mode 100644 content/tutorials/python-get-compute-service.md create mode 100644 content/tutorials/python-get-data-set.md create mode 100644 content/tutorials/python-publish-compute-service.md create mode 100644 content/tutorials/python-publish-data-set.md diff --git a/content/tutorials/introduction.md b/content/tutorials/introduction.md new file mode 100644 index 00000000..01effeaa --- /dev/null +++ b/content/tutorials/introduction.md @@ -0,0 +1,16 @@ +--- +title: Overview of the Tutorials +description: What you can expect to find in these Ocean Protocol tutorials. +--- + +These tutorials give examples of how to use Pleuston (a demo marketplace app) and Python to: + +- publish a data set +- publish a compute service +- get and use a data set +- get and use a compute service + +The Python tutorials use [Jupyter notebooks](http://jupyter.org/). +For now, check out [the Mantaray repository](https://github.com/oceanprotocol/mantaray). In the future, we hope to have live online Jupyter notebooks. + + diff --git a/content/tutorials/jupyter.md b/content/tutorials/jupyter.md deleted file mode 100644 index bac37b6c..00000000 --- a/content/tutorials/jupyter.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Use Jupyter Notebooks to interact with the Ocean network ---- - -For now, check out [the Mantaray repository](https://github.com/oceanprotocol/mantaray). In the future, we hope to have live online Jupyter notebooks. - - diff --git a/content/tutorials/pleuston-get-compute-service.md b/content/tutorials/pleuston-get-compute-service.md new file mode 100644 index 00000000..e69de29b diff --git a/content/tutorials/pleuston-get-data-set.md b/content/tutorials/pleuston-get-data-set.md new file mode 100644 index 00000000..e69de29b diff --git a/content/tutorials/pleuston-publish-compute-service.md b/content/tutorials/pleuston-publish-compute-service.md new file mode 100644 index 00000000..e69de29b diff --git a/content/tutorials/pleuston-publish-data-set.md b/content/tutorials/pleuston-publish-data-set.md new file mode 100644 index 00000000..e69de29b diff --git a/content/tutorials/python-get-compute-service.md b/content/tutorials/python-get-compute-service.md new file mode 100644 index 00000000..e69de29b diff --git a/content/tutorials/python-get-data-set.md b/content/tutorials/python-get-data-set.md new file mode 100644 index 00000000..e69de29b diff --git a/content/tutorials/python-publish-compute-service.md b/content/tutorials/python-publish-compute-service.md new file mode 100644 index 00000000..e69de29b diff --git a/content/tutorials/python-publish-data-set.md b/content/tutorials/python-publish-data-set.md new file mode 100644 index 00000000..e69de29b diff --git a/data/sections.yml b/data/sections.yml index 1700c8d6..45faaa4a 100644 --- a/data/sections.yml +++ b/data/sections.yml @@ -10,5 +10,5 @@ - title: Tutorials description: Browse tutorials for most common setup and development use-cases. - link: /tutorials/jupyter/ + link: /tutorials/introduction/ color: orange diff --git a/data/sidebars/tutorials.yml b/data/sidebars/tutorials.yml index 49e20f7b..8e8fdb9c 100644 --- a/data/sidebars/tutorials.yml +++ b/data/sidebars/tutorials.yml @@ -1,4 +1,32 @@ -- group: Data Science +- group: Overview items: - - title: Jupyter Notebooks - link: /tutorials/jupyter/ + - title: Introduction + link: /tutorials/introduction/ + +- group: Publish a Data Set + items: + - title: with Pleuston + link: /tutorials/pleuston-publish-data-set/ + - title: with Python + link: /tutorials/python-publish-data-set/ + +- group: Publish a Compute Service + items: + - title: with Pleuston + link: /tutorials/pleuston-publish-compute-service/ + - title: with Python + link: /tutorials/python-publish-compute-service/ + +- group: Get & Use a Data Set + items: + - title: with Pleuston + link: /tutorials/pleuston-get-data-set/ + - title: with Python + link: /tutorials/python-get-data-set/ + +- group: Get & Use a Compute Service + items: + - title: with Pleuston + link: /tutorials/pleuston-get-compute-service/ + - title: with Python + link: /tutorials/python-get-compute-service/ From 8a2d4fc07de62d88093051c89fba690687783357 Mon Sep 17 00:00:00 2001 From: Troy McConaghy Date: Wed, 14 Nov 2018 15:50:52 +0100 Subject: [PATCH 2/2] Simplify nav by having Pleuston & Python together --- ...-service.md => get-use-compute-service.md} | 0 ...on-get-data-set.md => get-use-data-set.md} | 0 ...-service.md => publish-compute-service.md} | 0 ...ublish-data-set.md => publish-data-set.md} | 0 .../tutorials/python-get-compute-service.md | 0 content/tutorials/python-get-data-set.md | 0 .../python-publish-compute-service.md | 0 content/tutorials/python-publish-data-set.md | 0 data/sidebars/tutorials.yml | 34 ++++++------------- 9 files changed, 10 insertions(+), 24 deletions(-) rename content/tutorials/{pleuston-get-compute-service.md => get-use-compute-service.md} (100%) rename content/tutorials/{pleuston-get-data-set.md => get-use-data-set.md} (100%) rename content/tutorials/{pleuston-publish-compute-service.md => publish-compute-service.md} (100%) rename content/tutorials/{pleuston-publish-data-set.md => publish-data-set.md} (100%) delete mode 100644 content/tutorials/python-get-compute-service.md delete mode 100644 content/tutorials/python-get-data-set.md delete mode 100644 content/tutorials/python-publish-compute-service.md delete mode 100644 content/tutorials/python-publish-data-set.md diff --git a/content/tutorials/pleuston-get-compute-service.md b/content/tutorials/get-use-compute-service.md similarity index 100% rename from content/tutorials/pleuston-get-compute-service.md rename to content/tutorials/get-use-compute-service.md diff --git a/content/tutorials/pleuston-get-data-set.md b/content/tutorials/get-use-data-set.md similarity index 100% rename from content/tutorials/pleuston-get-data-set.md rename to content/tutorials/get-use-data-set.md diff --git a/content/tutorials/pleuston-publish-compute-service.md b/content/tutorials/publish-compute-service.md similarity index 100% rename from content/tutorials/pleuston-publish-compute-service.md rename to content/tutorials/publish-compute-service.md diff --git a/content/tutorials/pleuston-publish-data-set.md b/content/tutorials/publish-data-set.md similarity index 100% rename from content/tutorials/pleuston-publish-data-set.md rename to content/tutorials/publish-data-set.md diff --git a/content/tutorials/python-get-compute-service.md b/content/tutorials/python-get-compute-service.md deleted file mode 100644 index e69de29b..00000000 diff --git a/content/tutorials/python-get-data-set.md b/content/tutorials/python-get-data-set.md deleted file mode 100644 index e69de29b..00000000 diff --git a/content/tutorials/python-publish-compute-service.md b/content/tutorials/python-publish-compute-service.md deleted file mode 100644 index e69de29b..00000000 diff --git a/content/tutorials/python-publish-data-set.md b/content/tutorials/python-publish-data-set.md deleted file mode 100644 index e69de29b..00000000 diff --git a/data/sidebars/tutorials.yml b/data/sidebars/tutorials.yml index 8e8fdb9c..994f81cb 100644 --- a/data/sidebars/tutorials.yml +++ b/data/sidebars/tutorials.yml @@ -3,30 +3,16 @@ - title: Introduction link: /tutorials/introduction/ -- group: Publish a Data Set +- group: Publish items: - - title: with Pleuston - link: /tutorials/pleuston-publish-data-set/ - - title: with Python - link: /tutorials/python-publish-data-set/ + - title: Publish a Data Set + link: /tutorials/publish-data-set/ + - title: Publish a Compute Service + link: /tutorials/publish-compute-service/ -- group: Publish a Compute Service +- group: Consume items: - - title: with Pleuston - link: /tutorials/pleuston-publish-compute-service/ - - title: with Python - link: /tutorials/python-publish-compute-service/ - -- group: Get & Use a Data Set - items: - - title: with Pleuston - link: /tutorials/pleuston-get-data-set/ - - title: with Python - link: /tutorials/python-get-data-set/ - -- group: Get & Use a Compute Service - items: - - title: with Pleuston - link: /tutorials/pleuston-get-compute-service/ - - title: with Python - link: /tutorials/python-get-compute-service/ + - title: Get & Use a Data Set + link: /tutorials/get-use-data-set/ + - title: Get & Use a Compute Service + link: /tutorials/get-use-compute-service/