Follow these steps to set up your development environment:
Run the following command in your project directory to install necessary dependencies:
npm installDownload and install Docker Desktop for your operating system.
Install the Supabase CLI globally by running:
npm install -g supabaseFollow the instruction given here for your operating systems
Start the Supabase local development environment using:
supabase startGo to the studio url shown in the terminal after supabase started
Rename .env.example to .env.local and ensure that all required environment variables are set in your .env file.
- Install ESLint extension from the VS Code Marketplace.
- Install Prettier extension from the VS Code Marketplace.
To automatically format your code on save in VS Code:
- Open Settings (
Ctrl + ,orCmd + ,on Mac). - Search for "Format On Save".
- Enable Editor: Format On Save.
Run the following command to start the development enviroment
npm run dev You are now ready to start working on the project! 🎉