This repository was archived by the owner on Jan 28, 2026. It is now read-only.
Refactor setup scripts for interactive setup and run, and update README#406
Merged
asim-shrestha merged 26 commits intoreworkd:mainfrom May 27, 2023
Merged
Refactor setup scripts for interactive setup and run, and update README#406asim-shrestha merged 26 commits intoreworkd:mainfrom
asim-shrestha merged 26 commits intoreworkd:mainfrom
Conversation
… key entry part to return to itself when an invalid key is entered. I will add documentation soon
beginners. Currently only docker-compose is working, no errors. I will need to do more work on docker and local build tomorrow
…all' because as of husky 5, husky commands must be run via npx
install" because as of husky 5, husky commands must be run via npx
- Removed setup.sh and replaced with init.sh and setup.mjs. - init.sh is a simple script to install necessary packages and prompt the user to set up the environment using setup.mjs. - setup.mjs is a comprehensive script that sets up the environment for the AgentGPT project. This script interacts with the user to collect necessary configuration details like the OpenAI API key, Docker/Node setup preference, and more. It generates the necessary environment variables, handles Docker setup if chosen, and also has logic to handle and retry on errors.
Refactor setup scripts for interactive setup and run, and update README
|
@JPDucky is attempting to deploy a commit to the reworkd Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
|
Hey thanks @JPDucky I cleaned this up and modified it quite a bit. Thanks for getting this started, this will be a huge help. Gave you credit in the README of the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request replaces the original setup.sh script with two new scripts: init.sh and setup.mjs. init.sh is a simple bash script that sets up the environment by installing necessary npm packages, while setup.mjs is a Node.js script that provides an interactive setup process with prompts for configuration details and handles multiple running options including docker-compose, docker, and node.
The README has also been updated to provide clear instructions on how to use the new setup scripts.