Skip to content

The open alternative to Salesforce, designed for AI.

Complete win script setup

Charles Bochet160b7039d9f5
diff --git a/docs/docs/contributor/frontend/basics/folder-architecture.mdx b/docs/docs/contributor/frontend/basics/folder-architecture.mdx
index f5e7bd7bc86..a8123edf8f2 100644
--- a/docs/docs/contributor/frontend/basics/folder-architecture.mdx
+++ b/docs/docs/contributor/frontend/basics/folder-architecture.mdx
@@ -6,8 +6,6 @@ sidebar_custom_props:
icon: TbFolder
---
-# Folder Architecture
-
In this guide, you will explore the details of the project directory structure and how it contributes to the organization and maintainability of Twenty.
By following this folder architecture convention, it is easier to find the files related to specific features and ensure that the application is scalable and maintainable.
diff --git a/docs/docs/contributor/local-setup/yarn-setup.mdx b/docs/docs/contributor/local-setup/yarn-setup.mdx
index dd27a96b4c9..c5e54e7e4d7 100644
--- a/docs/docs/contributor/local-setup/yarn-setup.mdx
+++ b/docs/docs/contributor/local-setup/yarn-setup.mdx
@@ -89,7 +89,7 @@ You can access them using `twenty` postgres user (password: `twenty`)
We recommend to provision your database locally:
```bash
cd twenty
-./infra/dev/scripts/setup-database.sh
+bash ./infra/dev/scripts/setup-database.sh
```
This will create a Docker container, exposing a PostgresSQL instance at [http://localhost:5432](http://localhost:5432).
You can access them using `twenty` postgres user (password: `twenty`)
diff --git a/infra/dev/scripts/setup-database.sh b/infra/dev/scripts/setup-database.sh
index 279c082496a..886de68e4de 100644
--- a/infra/dev/scripts/setup-database.sh
+++ b/infra/dev/scripts/setup-database.sh
@@ -60,7 +60,7 @@ sudo apt install -y curl || handle_error "Failed to install curl."
# Install pg_graphql extensions
echo_header $GREEN "Step [2/4]: Installing GraphQL for PostgreSQL..."
curl -L https://github.com/supabase/pg_graphql/releases/download/v$PG_GRAPHQL_VERSION/pg_graphql-v$PG_GRAPHQL_VERSION-pg$PG_MAIN_VERSION-$TARGETARCH-linux-gnu.deb -o pg_graphql.deb || handle_error "Failed to download pg_graphql package."
-dpkg --install pg_graphql.deb || handle_error "Failed to install pg_graphql package."
+sudo dpkg --install pg_graphql.deb || handle_error "Failed to install pg_graphql package."
rm pg_graphql.deb
# Start postgresql service