Skip to content

Commit

Permalink
renamed autogpt_builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos committed Sep 20, 2024
1 parent f711c05 commit cb95894
Show file tree
Hide file tree
Showing 150 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ documentation:

Builder:
- changed-files:
- any-glob-to-any-file: autogpt_platform/autogpt_builder/**
- any-glob-to-any-file: autogpt_platform/frontend/**

Server:
- changed-files:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/platform-autogpt-builder-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
branches: [ master ]
paths:
- '.github/workflows/autogpt-builder-ci.yml'
- 'autogpt_platform/autogpt_builder/**'
- 'autogpt_platform/frontend/**'
pull_request:
paths:
- '.github/workflows/autogpt-builder-ci.yml'
- 'autogpt_platform/autogpt_builder/**'
- 'autogpt_platform/frontend/**'

defaults:
run:
shell: bash
working-directory: autogpt_platform/autogpt_builder
working-directory: autogpt_platform/frontend

jobs:

Expand Down
2 changes: 1 addition & 1 deletion autogpt_platform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To run the AutoGPT Platform, follow these steps:
```

This command will start all the necessary backend services defined in the `docker-compose.combined.yml` file in detached mode.
7. Navigate to autogpt_platform/autogpt_builder.
7. Navigate to autogpt_platform/frontend.
8. Run the following command:
```
cp .env.example .env.local
Expand Down
2 changes: 1 addition & 1 deletion autogpt_platform/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ services:
# frontend:
# build:
# context: ../
# dockerfile: autogpt_platform/autogpt_builder/Dockerfile
# dockerfile: autogpt_platform/frontend/Dockerfile
# target: dev
# depends_on:
# postgres:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Base stage for both dev and prod
FROM node:21-alpine AS base
WORKDIR /app
COPY autogpt_platform/autogpt_builder/package.json autogpt_platform/autogpt_builder/yarn.lock ./
COPY autogpt_platform/frontend/package.json autogpt_platform/frontend/yarn.lock ./
RUN yarn install --frozen-lockfile

# Dev stage
FROM base AS dev
ENV NODE_ENV=development
COPY autogpt_platform/autogpt_builder/ .
COPY autogpt_platform/frontend/ .
EXPOSE 3000
CMD ["yarn", "run", "dev"]

# Build stage for prod
FROM base AS build
COPY autogpt_platform/autogpt_builder/ .
COPY autogpt_platform/frontend/ .
RUN npm run build

# Prod stage
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "autogpt_builder",
"name": "frontend",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/content/server/ollama.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Follow these steps to set up and run Ollama and your AutoGPT project:
- Open another terminal
- Navigate to the frontend directory in the AutoGPT project:
```
cd autogpt_platform/autogpt_builder/
cd autogpt_platform/frontend/
```
- Start the frontend development server:
```
Expand Down
4 changes: 2 additions & 2 deletions docs/content/server/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ poetry install
**In another terminal**, run the following command to install the dependencies for the frontend:

```bash
cd autogpt_platform/autogpt_builder
cd autogpt_platform/frontend
yarn install
```

Expand Down Expand Up @@ -120,7 +120,7 @@ docker compose -f docker-compose.combined.yml build
docker compose -f docker-compose.combined.yml up -d
```

In the other terminal from autogpt_builder, you can run the following command to start the frontend:
In the other terminal from frontend, you can run the following command to start the frontend:

```bash
yarn dev
Expand Down

0 comments on commit cb95894

Please sign in to comment.