Skip to content

Conversation

brycebortree
Copy link

Steps to Confirm

  • Ran make docs-serve and checked changes locally

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Documentation Updated :)

Description Of Changes

I made some updates to the Docker Installation instructions. These include:

  • More information about Docker
  • Installing Docker, Docker Compose
  • Pulling the fidesctl container image
  • Next steps for setting up the database, using Docker Compose, and following the tutorial

I went back and forth on whether to put "Installation" or "Docker Hub Releases" first. I think most developers would come to the page for those directions first, but the Docker Hub Releases section has important information as well.

I added "Implementation is not finalized in mid-release versions." based on past experience developing, to offer developers a bit of guidance on whether the "dirty versions" are safe to integrate against. But it is an educated guess.

Fidesctl requires multiple components to function as it is a multi-part application. You may therefore also be interested in launching fidesctl in the Docker Compose environment, see: [Running Fidesctl in Docker](../quickstart/docker.md).
The following is an overview of the fidesctl Docker Hub release process, including release cadence and what's included.

**Release Cadences**
Copy link
Owner

@iamkelllly iamkelllly Jan 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting that "Release Cadence" is before "Installation" @brycebortree . If someone landed on these instructions with the intention of deploying the docker image, do you suppose it might be helpful to have that first?
For reference, here is where it sits in the IA:
Screen Shot 2022-01-26 at 8 25 21 AM

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is definitely the change I was the most on the fence about. With fresh eyes, I do think Installation should go first. Thanks for the screenshot as well!

Install Docker and Docker Compose, then pull the latest container image from Docker Hub.

1. Install `docker` locally (see [Docker Desktop](https://www.docker.com/products/docker-desktop) or your preferred installation). The minimum verified Docker version is `20.10.8`
2. If your `docker` installation did not include `docker-compose`, make sure to get at least version `1.29.0`. Installation instructions can be found in the [Docker Compose documentation](https://docs.docker.com/compose/install/).
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how would I know that my installation didn't include docker-compose? it may not be necessary to explicitly state instructions on how to check for it, but maybe link to instructions on how to confirm?

Copy link
Owner

@iamkelllly iamkelllly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brycebortree Overall these are meaningful changes! Review the comments left here and reply with your response, or update the PR accordingly. Thanks!

You're now ready to start enforcing privacy with Fidesctl! Below are suggestions for continuing your journey.

- See [Setting up the database](./database.md) to set up the Postgresql for fidesctl.
- See [Running Fidesctl in Docker](../quickstart/docker.md) for more information on launching fidesctl in Docker Compose. Fidesctl requires multiple components to function as it is a multi-part application.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Running Fidesctl in Docker" contains the same instructions you've included here from the System Requirements section. In your opinion, does it make sense to have it in both places? (this is not a leading question! and you don't have to update the PR if you don't feel it's necessary, I want to understand your opinion on this)
Screen Shot 2022-01-26 at 8 33 33 AM

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great question!

In my last role, we had reusable files that would be able to be shared across page for shared instructions like this.

I think a solution like that, or simply linking to System Requirements would be best here. Having the same instructions in too places will just lead to tech debt in the future.

For now, I'll update with a link to System Requirements.

@brycebortree
Copy link
Author

Screen Shot 2022-01-28 at 9 42 27 AM

I decided to put the full Installation instruction in the Installation from Docker section. But it raises a similar question with the Release Cadence and Installation from before: what will the developer's path through the documentation be?

I see a few more options: move Quick Start below Installation and before Tutorial, combine Quick Start and Installation for Docker, or have those instructions in Quick Start since it will come first. The last would likely be the quickest, since I see the other two as larger refactors.

What are your thoughts here?

Repository owner deleted a comment from Soumya6Tiwari Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants