Skip to content

Deploy your own Vercel instance #383

@cy-Yin

Description

@cy-Yin

I just deployed my own instance and would like to share my experience.
The final result can be viewed at @cy-Yin : https://github.com/cy-Yin

Similar to github-readme-stats/deploy-on-your-own, with some details modified.

  1. get your Personal Access Token (PAT)
    For deploying your own instance of GitHub Readme Stats, you will need to create a GitHub Personal Access Token (PAT).
  1. Vercel deployment
  • Go to vercel.com.
  • Click on Log in.
  • Sign in with GitHub by pressing Continue with GitHub.
  • Sign in to GitHub and allow access to all repositories if prompted.
  • Fork this repo.
  • Go back to your Vercel dashboard.
  • To import a project, click the Add New... button and select the Project option.
  • Click the Continue with GitHub button, search for the required Git Repository and import it by clicking the Import button. Alternatively, you can import a Third-Party Git Repository using the Import Third-Party Git Repository -> link at the bottom of the page.
  • Create a Personal Access Token (PAT) as described in the previous section.
  • Add the PAT as an environment variable named GITHUB_TOKEN1
    Very important: Note that in the github-readme-stats repo, the environment variable is named as PAT_1 as shown below. However, in this repo one must name this environment variable as GITHUB_TOKEN1. I have tried GITHUB_TOKEN, PAT_1, etc., only the GITHUB_TOKEN1 works.
  • Click deploy, and you're good to go. See your domains to use the API!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions