mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-10-03 07:12:57 +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:
1 parent
e6a6384eff
commit
388ba06a8f
1 file changed
+15
-15
@@ -414,22 +414,22 @@ NOTE: Since [#58](https://github.com/anuraghazra/github-readme-stats/pull/58) we
|
|||||||
<details>
|
<details>
|
||||||
<summary><b> Guide on setting up Vercel 🔨 </b></summary>
|
<summary><b> Guide on setting up Vercel 🔨 </b></summary>
|
||||||
|
|
||||||
1. Go to [vercel.com](https://vercel.com/)
|
1. Go to [vercel.com](https://vercel.com/).
|
||||||
2. Click on `Log in`
|
2. Click on `Log in`.
|
||||||

|

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

|

|
||||||
4. Sign in to GitHub and allow access to all repositories, if prompted
|
4. Sign in to GitHub and allow access to all repositories if prompted.
|
||||||
5. Fork this repo
|
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`
|
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)
|
7. Go back to your [Vercel dashboard](https://vercel.com/dashboard).
|
||||||
8. Select `Import Project`
|
8. To import a project, click the `Add New...` button and select the `Project` option.
|
||||||

|

|
||||||
9. Select `Import Git Repository`. Select root and keep everything as is.
|
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)
|
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).
|
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!
|
12. Click deploy, and you're good to go. See your domains to use the API!
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|||||||
Reference in new issue
Block a user