Create a new Supabase project
You’ll need a Supabase account to get started. Sign up if you don’t have one already. Once you’ve signed up, create a new project. You can do this by clicking on the “New Project” button or by following this link.Migrate your database
Once you’ve created a new project, you’ll need to migrate your database. You can do this the following ways:Using Supafork (Recommended)
Using Supafork (Recommended)
Click here and follow the instructions to fork the Feedbase repository and migrate your database automatically.
Using the Supabase CLI
Using the Supabase CLI
For this method, you’ll need to install the Supabase CLI. View the installation instructions here.You can find your project ID in the URL of your Supabase project dashboard or via runnning If everything went successful, you should be able to see a populated database in your Supabase dashboard.
1
Clone the Feedbase repository
2
Login to Supabase
3
Link your project
supabase projects list.4
Run the migrations
Manually using the SQL Editor
Manually using the SQL Editor
1
Go to your Project's SQL Editor
Click on the SQL tab in your project dashboard or follow this link.
2
Run the migrations
Copy and paste all the contents of each file in the
supabase/migrations folder of the Feedbase repository into the SQL editor and run them.3
Verify the migrations
If everything went successful, you should be able to see a populated database in your Supabase dashboard.
Prepare your environment variables
Once you’ve migrated your database, you’ll need to prepare all necessary environment variables for the next step. You can find a list of all environment variables and where to find them here.Installation
- Clone the Feedbase repository.
- Create a
.envfile.
-
Update the
.envfile with your environment variables. - Either run the pre-built Docker image or build and run the Docker image yourself.
Run using pre-built Docker image (Recommended)
Run using pre-built Docker image (Recommended)
1
Pull the Docker image
2
Run the Docker image
If you don’t want to run the container in detached mode, you can remove the
-d flag.3
Verify the installation
If everything went successful, you should be able to see a running Feedbase instance by visiting
http://localhost:3000 in your browser.Build and run the Docker image
Build and run the Docker image
1
Build the Docker image
2
Run the Docker image
If you don’t want to run the container in detached mode, you can remove the
-d flag.3
Verify the installation
If everything went successful, you should be able to see a running Feedbase instance by visiting
http://localhost:3000 in your browser.