From fe17a8bacb8ab7e6c2140b968b6f1393f8be7337 Mon Sep 17 00:00:00 2001 From: Alexander Graebe Date: Tue, 22 Sep 2020 14:17:19 -0700 Subject: [PATCH] feat: move storage deploy files to tutorial section --- next.config.js | 5 +++++ src/common/navigation.yaml | 8 ++++++-- .../{amazon-s3-deploy.md => amazon-ec2-deploy.md} | 4 ++-- src/pages/storage-hubs/digital-ocean-deploy.md | 12 ++++++------ 4 files changed, 19 insertions(+), 10 deletions(-) rename src/pages/storage-hubs/{amazon-s3-deploy.md => amazon-ec2-deploy.md} (99%) diff --git a/next.config.js b/next.config.js index 2a74f4a2..31378a75 100755 --- a/next.config.js +++ b/next.config.js @@ -409,6 +409,11 @@ async function redirects() { destination: '/storage-hubs/gaia-admin', permanent: true, }, + { + source: '/storage-hubs/amazon-s3-deploy', + destination: '/storage-hubs/amazon-ec2-deploy', + permanent: true, + }, ]; } diff --git a/src/common/navigation.yaml b/src/common/navigation.yaml index cd0fd626..1d81f66f 100644 --- a/src/common/navigation.yaml +++ b/src/common/navigation.yaml @@ -97,8 +97,12 @@ sections: pages: - path: /overview - path: /gaia-admin - - path: /digital-ocean-deploy - - path: /amazon-s3-deploy + sections: + - title: Tutorials + usePageTitles: true + pages: + - path: /amazon-ec2-deploy + - path: /digital-ocean-deploy - path: /references usePageTitles: true pages: diff --git a/src/pages/storage-hubs/amazon-s3-deploy.md b/src/pages/storage-hubs/amazon-ec2-deploy.md similarity index 99% rename from src/pages/storage-hubs/amazon-s3-deploy.md rename to src/pages/storage-hubs/amazon-ec2-deploy.md index 43c40842..baa7568b 100644 --- a/src/pages/storage-hubs/amazon-s3-deploy.md +++ b/src/pages/storage-hubs/amazon-ec2-deploy.md @@ -1,6 +1,6 @@ --- -title: Configure a hub on Amazon EC2 -description: Learn how to run a Gaia hub on Amazon EC2. +title: Deploy on Amazon EC2 +description: Learn how to run a Gaia hub on Amazon EC2 --- ## Introduction diff --git a/src/pages/storage-hubs/digital-ocean-deploy.md b/src/pages/storage-hubs/digital-ocean-deploy.md index a17fcad8..4c9b6bf7 100644 --- a/src/pages/storage-hubs/digital-ocean-deploy.md +++ b/src/pages/storage-hubs/digital-ocean-deploy.md @@ -1,6 +1,6 @@ --- -title: Configure a hub on DigitalOcean -description: 'Storing user data with Blockstack' +title: Deploy on DigitalOcean +description: Learn how to run a Gaia hub on DigitalOcean --- ## Introduction @@ -228,13 +228,13 @@ A droplet console emulates the access you would have if you were sitting down wi Welcome to DigitalOcean's One-Click Docker Droplet. To keep this Droplet secure, the UFW firewall is enabled. All ports are BLOCKED except 22 (SSH), 2375 (Docker) and 2376 (Docker). - * The Docker One-Click Quickstart guide is available at:
https ://do.co/docker1804#start + * The Docker One-Click Quickstart guide is available at:https ://do.co/docker1804#start * You can SSH to this Droplet in a terminal as root: ssh root@138.68.28.100 - * Docker is installed and configured per Docker's recommendations:
https://docs.docker.com/install/linux/docker-ce/ubuntu/ - * Docker Compose is installed and configured per Docker's recommendations:
https://docs.docker.eom/compose/install/#install-compose + * Docker is installed and configured per Docker's recommendations:https://docs.docker.com/install/linux/docker-ce/ubuntu/ + * Docker Compose is installed and configured per Docker's recommendations:https://docs.docker.eom/compose/install/#install-compose For help and more information, visit http://do.co/dockerl804 - To delete this message of the day: rm -rf /etc/update-motd.d/99-one-click
root@meepers:~# + To delete this message of the day: rm -rf /etc/update-motd.d/99-one-clickroot@meepers:~# ```