From 2400b0bfcb86b2e1c2c4e5652d921d4a6107df37 Mon Sep 17 00:00:00 2001 From: Jonah Lawrence Date: Sun, 25 Dec 2022 12:26:08 -0700 Subject: [PATCH 1/2] docs(readme): Update deploying steps -- added Vercel --- README.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 07436529..e8e42b44 100644 --- a/README.md +++ b/README.md @@ -144,8 +144,11 @@ The Inkscape dependency is required for PNG rendering, as well as Segoe UI font [![Heroku_logo](https://user-images.githubusercontent.com/20955511/136292872-ab2b3918-3350-4878-93a2-aa1f569b095a.png)](https://heroku.com) +Heroku costs around $5-$7/month minimum for a single app, but you can contact the Open Source program +at ospo-heroku-credits@salesforce.com to possibly get free credits. +
- Instructions for Deploying to Heroku for Free + Instructions for Deploying to Heroku ### Step-by-step instructions for deploying to Heroku @@ -165,6 +168,31 @@ The Inkscape dependency is required for PNG rendering, as well as Segoe UI font
+[![Vercel_logo](https://user-images.githubusercontent.com/20955511/209479243-5b14048b-e9ae-42da-aec3-1cc88a97aaee.png)](https://vercel.com) + +Vercel is a free hosting service that can be used to run PHP. **Note:** The intl library +seems to not be available through Vercel at the moment, so the automatic number and date +formats for locales other than English will not work. + +
+ Instructions for Deploying to Vercel for Free + + ### Step-by-step instructions for deploying to Vercel + + 1. Sign in to **Vercel** or create a new account at + 2. Clone this repository with `git clone https://github.com/DenverCoder1/github-readme-streak-stats.git` + * You may also fork the repository and clone your fork instead if you intend to make changes + 3. Enter the directory with `cd github-readme-streak-stats` + 4. Switch branches to the `vercel` branch with `git checkout vercel` + 5. Make sure you have the [Vercel CLI](https://vercel.com/download) installed + 6. Run `vercel` and follow the prompts to link your Vercel account and select a project name + 7. The app will be deployed to `.vercel.app` + 8. Visit [this link](https://github.com/settings/tokens/new?description=GitHub%20Readme%20Streak%20Stats) to create a new Personal Access Token (no scopes required) + 9. Scroll to the bottom and click **"Generate token"** + 10. Visit the [Vercel dashboard](https://vercel.com/dashboard) and select your project, then click **"Settings"**, then **"Environment Variables"**. Add a new variable with the key `TOKEN` and the value as your token from step 9. + +
+ ## 🤗 Contributing Contributions are welcome! Feel free to [open an issue](https://github.com/DenverCoder1/github-readme-streak-stats/issues/new/choose) or submit a [pull request](https://github.com/DenverCoder1/github-readme-streak-stats/compare) if you have a way to improve this project. From a8def0949674ea28e07b1f1e54709878004a8eda Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 25 Dec 2022 19:27:06 +0000 Subject: [PATCH 2/2] style: Formatted code with Prettier --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e8e42b44..88f79ec3 100644 --- a/README.md +++ b/README.md @@ -177,19 +177,19 @@ formats for locales other than English will not work.
Instructions for Deploying to Vercel for Free - ### Step-by-step instructions for deploying to Vercel - - 1. Sign in to **Vercel** or create a new account at - 2. Clone this repository with `git clone https://github.com/DenverCoder1/github-readme-streak-stats.git` - * You may also fork the repository and clone your fork instead if you intend to make changes - 3. Enter the directory with `cd github-readme-streak-stats` - 4. Switch branches to the `vercel` branch with `git checkout vercel` - 5. Make sure you have the [Vercel CLI](https://vercel.com/download) installed - 6. Run `vercel` and follow the prompts to link your Vercel account and select a project name - 7. The app will be deployed to `.vercel.app` - 8. Visit [this link](https://github.com/settings/tokens/new?description=GitHub%20Readme%20Streak%20Stats) to create a new Personal Access Token (no scopes required) - 9. Scroll to the bottom and click **"Generate token"** - 10. Visit the [Vercel dashboard](https://vercel.com/dashboard) and select your project, then click **"Settings"**, then **"Environment Variables"**. Add a new variable with the key `TOKEN` and the value as your token from step 9. +### Step-by-step instructions for deploying to Vercel + +1. Sign in to **Vercel** or create a new account at +2. Clone this repository with `git clone https://github.com/DenverCoder1/github-readme-streak-stats.git` + - You may also fork the repository and clone your fork instead if you intend to make changes +3. Enter the directory with `cd github-readme-streak-stats` +4. Switch branches to the `vercel` branch with `git checkout vercel` +5. Make sure you have the [Vercel CLI](https://vercel.com/download) installed +6. Run `vercel` and follow the prompts to link your Vercel account and select a project name +7. The app will be deployed to `.vercel.app` +8. Visit [this link](https://github.com/settings/tokens/new?description=GitHub%20Readme%20Streak%20Stats) to create a new Personal Access Token (no scopes required) +9. Scroll to the bottom and click **"Generate token"** +10. Visit the [Vercel dashboard](https://vercel.com/dashboard) and select your project, then click **"Settings"**, then **"Environment Variables"**. Add a new variable with the key `TOKEN` and the value as your token from step 9.