The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Improve documentation for local development (#3909)
Isaiah Hamilton932a3805cb45
diff --git a/DEVELOPERS.md b/DEVELOPERS.mdnew file mode 100644index 00000000000..93f69172730--- /dev/null+++ b/DEVELOPERS.md@@ -0,0 +1,92 @@+# Developing Supabase++* [Development Setup](##Development-Setup)+* [Installing Dependencies](###Installing-Dependencies)+* [Building Supabase](##Building-Supabase)+* [Start a Development Server](##Start-a-Development-Server)++## Development Setup++This document describes how to set up your development environment to build and test Supabase.++### Installing Dependencies++Before you can build Supabase, you must install and configure the following dependencies on your+machine:++* [Git](http://git-scm.com/)++* [Node.js v16.x (LTS)](http://nodejs.org)++* [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/)++### Forking Supabase on Github++To contribute code to Supabase, you must fork the [Supabase Repository](https://github.com/supabase/supabase). After you fork the repository, you may now begin editing the source code.++## Building Supabase++To build Supabase, you clone the source code repository:++2. Clone your Github forked repository:+ ```sh+ git clone https://github.com/<github_username>/supabase.git+ ```++3. Go to the Supabase directory:+ ```sh+ cd supabase+ ```++### Choosing Directory++Before you start a development server, you must choose if you want to work on the [Supabase website](https://supabase.io) or [Supabase Docs](https://supabase.io/docs/).++1. Go to the supabase.io directory+ ```sh+ cd www+ ```+ or Go to the [Supabase Docs](https://supabase.io/docs/) directory+ ```sh+ cd web+ ```++2. Install npm dependencies:++ npm+ ```sh+ npm install+ ```++ or with yarn+ ```sh+ yarn install+ ```++## Start a Development Server++To debug code, and to see changes in real time, it is often useful to have a local HTTP server.++1. Start development server++ npm+ ```sh+ npm run start+ ```++ or with yarn+ ```sh+ yarn dev+ ```++2. To access the local server, enter the following URL into your web browser:++ [Supabase website](https://supabase.io)+ ```sh+ http://localhost:3000+ ```++ [Supabase Docs](https://supabase.io/docs/)+ ```sh+ http://localhost:3005/docs+ ```diff --git a/README.md b/README.mdindex 9027b676304..8abf58589bc 100644--- a/README.md+++ b/README.md@@ -20,6 +20,8 @@For full documentation, visit [supabase.com/docs](https://supabase.com/docs)+To see how to Contribute, visit [Getting Started](./DEVELOPERS.md)+## Community & Support- [Community Forum](https://github.com/supabase/supabase/discussions). Best for: help with building, discussion about database best practices.