The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
updates instructions for the monorepo
Copple92ddfc9c7e83
diff --git a/DEVELOPERS.md b/DEVELOPERS.mdindex 465efd1a6ec..5666ab42139 100644--- a/DEVELOPERS.md+++ b/DEVELOPERS.md@@ -9,14 +9,20 @@- [Supabase Website Development Server](#supabase-website-development-server)- [Supabase Docs Development Server](#supabase-docs-development-server)- [Supabase Studio Development Server](#supabase-studio-development-server)-- [Finally](#finally)-- [Community Channels](#community-channels)- [Monorepo](#monorepo)+ - [Getting started](#getting-started)+ - [Shared components](#shared-components)+ - [Installing packages](#installing-packages)- [Development](#development)+- [Finally](#finally)+- [Community Channels](#community-channels)## Development Setup-First off, thanks for your interest in Supabase and for wanting to contribute! before you begin, read the [code of conduct](https://github.com/supabase/.github/blob/main/CODE_OF_CONDUCT.md) and check out the [existing issues](https://github.com/supabase/supabase/issues). This document describes how to set up your development environment to build and test Supabase.+First off, thanks for your interest in Supabase and for wanting to contribute! before you begin, read the+[code of conduct](https://github.com/supabase/.github/blob/main/CODE_OF_CONDUCT.md) and check out the+[existing issues](https://github.com/supabase/supabase/issues).+This document describes how to set up your development environment to build and test Supabase.### Installing Dependencies@@ -94,25 +100,7 @@ To debug code, and to see changes in real time, it is often useful to have a loc### Supabase Website Development Server-1. Start development server-- npm-- ```sh- npm run dev- ```-- or with yarn-- ```sh- yarn dev- ```--2. To access the local server, enter the following URL into your web browser:-- ```sh- http://localhost:3000/- ```+The website is moving to a new monorepo setup. See the [Monorepo](#monorepo) section below.### Supabase Docs Development Server@@ -174,21 +162,41 @@ To debug code, and to see changes in real time, it is often useful to have a locFor more information on Supabase Studio, see the [Supabase Studio readme](./studio/README.md).-## Finally+## Monorepo-After making your changes to the file(s) you'd like to update, it's time to open a pull request. Once you submit your pull request, others from the Supabase team/community will review it with you.+We are in the process of migrating this repository to monorepo, using Turborepo.+Eventually, the docs and the Studio will be run using Turborepo, which will significantly improve the developer workflow.+You must be using NPM 7 or higher.-Did you have an issue, like a merge conflict, or don't know how to open a pull request? Check out [GitHub's pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) tutorial on how to resolve merge conflicts and other issues. Once your PR has been merged, you will be proudly listed as a contributor in the [contributor chart](https://github.com/supabase/supabase/graphs/contributors)+### Getting started-## Community Channels+```sh+npm run install # install dependencies+npm run dev # start all the applications+```-Stuck somewhere? Have any questions? please join the [Discord Community Server](https://discord.supabase.com/) or the [Github Discussions](https://github.com/supabase/supabase/discussions). We are here to help!+Then edit and visit any of the following sites:-## Monorepo+- `/apps/www`: http://localhost:3000+ - The main website.+- `/apps/temp-docs`: http://localhost:3001+ - We are migrating the docs to a Next.js application.+- `/apps/temp-community-forum`: http://localhost:3002+ - pulls all our github discussions into a nextjs site. Temporary/POC+- `/apps/temp-community-tutorials`: http://localhost:3003+ - pulls all our DEV articles (which community members can write) into a nextjs site. Temporary/POC+++### Shared components-This is a monorepo, using Turborepo. You must be using NPM 7 or higher.+The monorepo has a set of shared components under `/packages`:-- Install a package: `npm install <package name> -w=<workspace to install in>`. eg:+- `/packages/config`: All shared config+- `/packages/tsconfig`: Shared Typescript settings+- `/packages/common`: Common React code, shared between all sites.+### Installing packages++Installing a package with : `npm install <package name> -w=<workspace to install in>`. eg:- `npm install @supabase/ui -w ui`: installs into `./packages/ui`- `npm install @supabase/ui -w docs`: installs into `./packages/docs`@@ -196,7 +204,14 @@ This is a monorepo, using Turborepo. You must be using NPM 7 or higher.`npm run dev`-- www: http://localhost:3000-- docs: http://localhost:3001-- forum: http://localhost:3002 - pulls all our github discussions into a nextjs site. Temporary/POC-- tutorial: http://localhost:3003 - pulls all our DEV articles (which community members can write) into a nextjs site. Temporary/POC+++## Finally++After making your changes to the file(s) you'd like to update, it's time to open a pull request. Once you submit your pull request, others from the Supabase team/community will review it with you.++Did you have an issue, like a merge conflict, or don't know how to open a pull request? Check out [GitHub's pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) tutorial on how to resolve merge conflicts and other issues. Once your PR has been merged, you will be proudly listed as a contributor in the [contributor chart](https://github.com/supabase/supabase/graphs/contributors)++## Community Channels++Stuck somewhere? Have any questions? please join the [Discord Community Server](https://discord.supabase.com/) or the [Github Discussions](https://github.com/supabase/supabase/discussions). We are here to help!