Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the steps for running docker compose in the setup documentation #4462

Merged
merged 2 commits into from May 29, 2023

Conversation

kinance
Copy link
Contributor

@kinance kinance commented May 29, 2023

Background

I'm trying to make the instructions in the setup doc more easy-to-follow. Users are confused with the current steps, e.g. whether to create the folder in the docker container or in the project folder. There's a recent question/feedback from a user in tech support channel.
https://discord.com/channels/1092243196446249134/1098744126461198447/1103984881526116432

Changes

Reordered the steps for docker compose so that it's more intuitive to follow. To avoid confusion, we should instruct users to complete the project directory creation and add relevant files in the folder first, before pulling the docker image and running docker compose.

PR Quality Checklist

  • My pull request is atomic and focuses on a single change.
  • I have thoroughly tested my changes with multiple different prompts.
  • I have considered potential risks and mitigations for my changes.
  • I have documented my changes clearly and comprehensively.
  • I have not snuck in any "extra" small tweaks changes.
  • I have run the following commands against my code to ensure it passes our linters:
    black .
    isort .
    mypy
    autoflake --remove-all-unused-imports --recursive --ignore-init-module-imports autogpt tests --in-place

@kinance kinance added the documentation Improvements or additions to documentation label May 29, 2023
@vercel
Copy link

vercel bot commented May 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview May 29, 2023 4:05pm

@vercel vercel bot temporarily deployed to Preview May 29, 2023 14:59 Inactive
@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (1127d9c) 68.43% compared to head (2848584) 68.43%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4462   +/-   ##
=======================================
  Coverage   68.43%   68.43%           
=======================================
  Files          72       72           
  Lines        3516     3516           
  Branches      560      560           
=======================================
  Hits         2406     2406           
  Misses        924      924           
  Partials      186      186           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@k-boikov k-boikov merged commit 1ddf232 into Significant-Gravitas:master May 29, 2023
10 checks passed
Copy link
Contributor

@bfalans bfalans left a comment

Choose a reason for hiding this comment

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

Found some possible confusions

@@ -34,13 +34,13 @@ Get your OpenAI API key from: [https://platform.openai.com/account/api-keys](htt
### Set up with Docker

1. Make sure you have Docker installed, see [requirements](#requirements)
2. Pull the latest image from [Docker Hub]
2. Create a project directory for Auto-GPT

:::shell
Copy link
Contributor

Choose a reason for hiding this comment

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

":::shell", should this be visible here? codeblock marker can be mistaken for code


3. Create a folder for Auto-GPT
4. In the folder, create a file called `docker-compose.yml` with the following contents:
3. In the project directory, create a file called `docker-compose.yml` with the following contents:

:::yaml
Copy link
Contributor

Choose a reason for hiding this comment

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

":::yaml" this should not be added to the file contents. When opening setup.md from folder this seems part of the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation size/m
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants