mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-15 12:58:40 +00:00
Update the Vercel deployement guide (#2102)
* Update the Vercel deployement guide Updated Readme.md - The guide on deploying your own Vercel instance * docs: fix some small grammer errors Co-authored-by: rickstaa <rick.staa@outlook.com>
This commit is contained in:
@@ -414,22 +414,22 @@ NOTE: Since [#58](https://github.com/anuraghazra/github-readme-stats/pull/58) we
|
||||
<details>
|
||||
<summary><b> Guide on setting up Vercel 🔨 </b></summary>
|
||||
|
||||
1. Go to [vercel.com](https://vercel.com/)
|
||||
2. Click on `Log in`
|
||||

|
||||
3. Sign in with GitHub by pressing `Continue with GitHub`
|
||||

|
||||
4. Sign in to GitHub and allow access to all repositories, if prompted
|
||||
5. Fork this repo
|
||||
6. After forking the repo, open the [`vercel.json`](https://github.com/anuraghazra/github-readme-stats/blob/master/vercel.json#L5) file and change the `maxDuration` field to `10`
|
||||
7. Go back to your [Vercel dashboard](https://vercel.com/dashboard)
|
||||
8. Select `Import Project`
|
||||

|
||||
9. Select `Import Git Repository`. Select root and keep everything as is.
|
||||

|
||||
10. Create a personal access token (PAT) [here](https://github.com/settings/tokens/new) and enable the `repo` permissions (this allows access to see private repo stats)
|
||||
1. Go to [vercel.com](https://vercel.com/).
|
||||
2. Click on `Log in`.
|
||||

|
||||
3. Sign in with GitHub by pressing `Continue with GitHub`.
|
||||

|
||||
4. Sign in to GitHub and allow access to all repositories if prompted.
|
||||
5. Fork this repo.
|
||||
6. After forking the repo, open the [`vercel.json`](https://github.com/anuraghazra/github-readme-stats/blob/master/vercel.json#L5) file and change the `maxDuration` field to `10`.
|
||||
7. Go back to your [Vercel dashboard](https://vercel.com/dashboard).
|
||||
8. To import a project, click the `Add New...` button and select the `Project` option.
|
||||

|
||||
9. 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.
|
||||

|
||||
10. Create a personal access token (PAT) [here](https://github.com/settings/tokens/new) and enable the `repo` permissions (this allows access to see private repo stats).
|
||||
11. Add the PAT as an environment variable named `PAT_1` (as shown).
|
||||

|
||||

|
||||
12. Click deploy, and you're good to go. See your domains to use the API!
|
||||
|
||||
</details>
|
||||
|
||||
Reference in New Issue
Block a user