SIGN IN SIGN UP
reworkd / AgentGPT UNCLAIMED

🤖 Assemble, configure, and deploy autonomous AI Agents in your browser.

0 0 0 TypeScript
#!/usr/bin/env bash
Refactor setup scripts for interactive setup and run, and update README (#406) * Added an interface for configuration, currently trying to get the api key entry part to return to itself when an invalid key is entered. I will add documentation soon * Created a setup script and a docker-compose route to make it easier for beginners. Currently only docker-compose is working, no errors. I will need to do more work on docker and local build tomorrow * Forgot to uncomment npm install from testing * changed line 'prepare': 'husky install' to 'prepare': 'npx husky install' because as of husky 5, husky commands must be run via npx * changed line "prepare": "husky install" to "prepare": "npx husky install" because as of husky 5, husky commands must be run via npx * working * input.mjs broken, moving to a different host for further troubleshooting * Changes Made - 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. * Updated readme to reflect changes * removed my settings.json * 💬 Update error messaging * 💬 Check if ENV exists * 💬 Validate against existing ENV * 💬 Update finalization commands * 💬 Fix schema * 💬 Fix execution * 💬 Revert next * 💬 Revert main * 💬 Add package json * 💬 Add package json * 💬 Manual * 🔌 Electrifying devX --------- Co-authored-by: Asim Shrestha <asim.shrestha@hotmail.com> Co-authored-by: jpducky <34105363+JPDucky@users.noreply.github.com~> Co-authored-by: awtkns <32209255+awtkns@users.noreply.github.com>
2023-05-27 01:40:09 -05:00
cd "$(dirname "$0")" || exit 1
2023-04-12 06:25:47 +03:00
Refactor setup scripts for interactive setup and run, and update README (#406) * Added an interface for configuration, currently trying to get the api key entry part to return to itself when an invalid key is entered. I will add documentation soon * Created a setup script and a docker-compose route to make it easier for beginners. Currently only docker-compose is working, no errors. I will need to do more work on docker and local build tomorrow * Forgot to uncomment npm install from testing * changed line 'prepare': 'husky install' to 'prepare': 'npx husky install' because as of husky 5, husky commands must be run via npx * changed line "prepare": "husky install" to "prepare": "npx husky install" because as of husky 5, husky commands must be run via npx * working * input.mjs broken, moving to a different host for further troubleshooting * Changes Made - 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. * Updated readme to reflect changes * removed my settings.json * 💬 Update error messaging * 💬 Check if ENV exists * 💬 Validate against existing ENV * 💬 Update finalization commands * 💬 Fix schema * 💬 Fix execution * 💬 Revert next * 💬 Revert main * 💬 Add package json * 💬 Add package json * 💬 Manual * 🔌 Electrifying devX --------- Co-authored-by: Asim Shrestha <asim.shrestha@hotmail.com> Co-authored-by: jpducky <34105363+JPDucky@users.noreply.github.com~> Co-authored-by: awtkns <32209255+awtkns@users.noreply.github.com>
2023-05-27 01:40:09 -05:00
# The CLI will take care of setting up the ENV variables
cd ./cli || exit 1
npm install
npm run start