-
Notifications
You must be signed in to change notification settings - Fork 33
Frontend — Deploying with Vercel
ff6347 edited this page Sep 12, 2023
·
5 revisions
On this page, we are looking at how to deploy Gieß den Kiez on Vercel. For this, you will need a GitHub account and a Vercel account.
- Log into GitHub and fork the Gieß den Kiez repo.
- Log into Vercel and click on "Add new project"
- Select GitHub as your Git provider and select your Gieß den Kiez fork.
- Click on "Environment Variables" and fill in the required environment variables
- see the
.env.example
in the Repository for details or - see the documentation at Setup Vercel for details
- see the
- Click on Deploy
You successfully deployed your own Gieß den Kiez!
Next, find out how to add custom domains on Vercel.
We also need to tell Mapbox to allow our new URL to load our Mapbox basemap and tilesets.
- Log into your Mapbox Account and click on your Gieß den Kiez project.
- Copy the fresh URL of your Vercel site, and add it to the allowlist of URLs. Otherwise, Mapbox won't load the tiles.
- Save. You should now see the map loading when reloading the page. Note that it might take a while before the new permissions apply.
Perfect. Everything should now work just fine.
- Setup Mapbox
- Setup Supabase
- Setup Vercel (optional, for deploying the Frontend)
- Setup Pipedream (optional, for scheduling Github Actions)