From 0264bc57c1a074c9a1b17a5e4e40b9b2257581c7 Mon Sep 17 00:00:00 2001 From: Vivek_Neel Date: Sun, 8 May 2022 15:01:24 +0530 Subject: [PATCH] docs(contributing): update contributing docs to mention maxDuration to 10 (#1734) * Update docs to mention maxDuration to 10 I forked the project and tried running it, but got an error saying The value for maxDuration must be between 1 second and 10 seconds, in order to increase this limit upgrade your plan: https://vercel.com/pricing - We have to set the maxDuration to 10 for free plans in vercel.json * docs(contributing.md): improve syntax Co-authored-by: rickstaa --- CONTRIBUTING.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8fa30b3..0d4b558 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,13 +30,14 @@ Interested in diving deeper into understanding how github-readme-stats works? To run & test github-readme-stats, you need to follow a few simple steps:- _(make sure you already have a [Vercel](https://vercel.com/) account)_ -1. Install [Vercel CLI](https://vercel.com/download) -2. Fork the repository and clone the code to your local machine -3. Run `npm install` in the repository root -4. Run the command "vercel" in the root and follow the steps there -5. Create a `.env` file in the root of the directory -6. In the .env file add a new variable named "PAT_1" with your [GitHub Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) -7. Run the command "vercel dev" to start a development server at +1. Install [Vercel CLI](https://vercel.com/download). +2. Fork the repository and clone the code to your local machine. +3. Run `npm install` in the repository root. +4. Run the command "vercel" in the root and follow the steps there. +5. Open `vercel.json` and set the maxDuration to 10. +6. Create a `.env` file in the root of the directory. +7. In the .env file add a new variable named "PAT_1" with your [GitHub Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token). +8. Run the command "vercel dev" to start a development server at . ## Themes Contribution