mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 20:27:55 +00:00
Complete win script setup
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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`)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user