Hosting
Running on Supabase
Supabase is an open source Firebase alternative built on the Postgres database.
Setup#
-
Edit db/postgresql/schema.prisma to add directUrl = env("DIRECT_DATABASE_URL")
-
Create a project on Supabase with a given name in a region close to where you will be hosting your Umami project.
-
Get the database connection string from the Settings > Database page, then scroll to the bottom for the Connection Pooling section and copy the Connection string.
-
Add
DATABASE_URLandDIRECT_DATABASE_URLto your.envfile: -
You should now be able to build and start Umami (
npm run buildfollowed bynpm start). -
Follow the Getting started guide starting from the Login step and be sure to change the default password.