Skip to content
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
JPDucky:main
May 27, 2023
Merged

Refactor setup scripts for interactive setup and run, and update README#406
asim-shrestha merged 26 commits intoreworkd:mainfrom
JPDucky:main

Conversation

@JPDucky
Copy link
Copy Markdown
Contributor

@JPDucky JPDucky commented Apr 29, 2023

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.

JPDucky and others added 12 commits April 25, 2023 23:14
… 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
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 29, 2023

@JPDucky is attempting to deploy a commit to the reworkd Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2023

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

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 27, 2023 6:38am

@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:02 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:09 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:11 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:17 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:18 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:19 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:24 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:27 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:31 Inactive
@vercel vercel Bot temporarily deployed to Preview – docs May 27, 2023 06:38 Inactive
@asim-shrestha asim-shrestha merged commit 7e2f534 into reworkd:main May 27, 2023
@asim-shrestha
Copy link
Copy Markdown
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 /cli folder :) Cheers!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants