-
Notifications
You must be signed in to change notification settings - Fork 1
Setup Vercel
André Kuhlmann edited this page Nov 3, 2021
·
6 revisions
This explanation shows you how you can set up the API included in this project on a free hosting provider called Vercel.
- Create an account or log in to Vercel https://vercel.com/dashboard
- Create a new project and select your thesis repository from your GitHub account.
- You will then be asked to configure the project.
-
FRAMEWORK PRESET:Other -
ROOT DIRECTORY: Select theapi/folder -
Environment Variables: In order for the API to know where to find your repository you need to set some variables.-
GITHUB_TOKEN: Your generated token to allow the server to access your repository. GitHub new Personal Access Token. Make sure you enablerepo -
GITHUB_USERNAME: Your GitHub username -
GITHUB_REPOSITORY: The name of your repository
-
-
In case the server responds with an error check if your environment variables are configured correctly and your View Functions Log has no thrown errors display.