mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-30 03:00:41 -04:00
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform: * Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder * Also rename `autogpt` to `original_autogpt` for absolute clarity * Rename `rnd/` to `autogpt_platform/` * `rnd/autogpt_builder` -> `autogpt_platform/frontend` * `rnd/autogpt_server` -> `autogpt_platform/backend` * Adjust any paths accordingly
28 lines
478 B
Batchfile
28 lines
478 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
:FindPythonCommand
|
|
for %%A in (python3 python) do (
|
|
where /Q %%A
|
|
if !errorlevel! EQU 0 (
|
|
set "PYTHON_CMD=%%A"
|
|
goto :Found
|
|
)
|
|
)
|
|
|
|
echo Python not found. Please install Python.
|
|
pause
|
|
exit /B 1
|
|
|
|
:Found
|
|
%PYTHON_CMD% scripts/check_requirements.py
|
|
if errorlevel 1 (
|
|
echo
|
|
poetry install --without dev
|
|
echo
|
|
echo Finished installing packages! Starting AutoGPT...
|
|
echo
|
|
)
|
|
poetry run autogpt %*
|
|
pause
|