Create a new Supabase project
You can also self-host Supabase on your own infrastructure. Learn more.
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.
Configure Supabase Authentication
Once you’ve migrated your database, head over to the Url Configuration settings and add the following site and redirect URLs: Site URL:https://<your-domain>.com
Redirect URLs: https://**.<your-domain>.com/**
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.For hosting on a subdomain
This is genuinely recommended if you already host a landing page on your root domain (e.g.
https://your-domain.com
).https://<subdomain>.your-domain.com
, you’ll need to set the following environment variables:
SUBDOMAIN_HOSTING
: Set this totrue
DASHBOARD_SUBDOMAIN
: Set this to the subdomain the Feedbase dashboard (NOT the public hubs, those have to be handled via custom domains in the dashboard) will be hosted on (e.g.feedbase
)CUSTOM_DOMAIN_WHITELIST
: A comma separated list of custom domains with the same root domain as the one you are hosting on. This is used to whitelist custom domains for the public hubs. For example, if you are hosting onfeedbase.your-domain.com
, you can addfeedback.your-domain.com
andfeedback2.your-domain.com
to the list and then assign them to you’re project in the Feedbase dashboard.
Deploy to Vercel
Finally, you can deploy your Feedbase instance to Vercel by following the instructions here.Troubleshooting
If you run into any issues, feel free to reach out to us on Discord or open an issue on the Feedbase repository.Common issues
Vercel deployment fails with Error: No Output Directory named "public" found after the Build completed
This error occurs due to the monorepo structure of the Feedbase repository. To fix this, head over to your Project Settings > General and set the “Root Directory” to apps/web
.