Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can I deploy this project on vercel ?#390

Unanswered
sarveshdevrukhkar asked this question inQ&A
Discussion options

Description

A brief description of the question or issue:
I tried to sign up on heroku.com but it shows some issues regarding it. so Can I deploy it on vercel? How?
Does it have the same process as given in README?
Please guide me!
image

You must be logged in to vote

Replies: 5 comments 4 replies

Comment options

You can try it, there is a separate branch --https://github.com/DenverCoder1/github-readme-streak-stats/tree/vercel -- which has the necessary files and structure to get it working.Note: automatic internationalization of number formats and date formats is not supported on the vercel branch and the PNG mode does not work, but otherwise it should be fine.

I think Heroku is definitely the simplest option to get all features (including internationalization and PNG rendering), but it costs a minimum of ~$5/month now unless you contact Heroku for getting Open Source credits. Following the steps in the readme should get it working quickly, just make sure you have some type of dynos enabled.

Most web servers support PHP by default, so if you have access to a VPS, you could just install the dependencies with composer and it should run almost anywhere that PHP and Composer are installed.

You must be logged in to vote
0 replies
Comment options

I have an example of the vercel deployment here -https://github-readme-streak-stats-eight.vercel.app/

This is using the Vercel branch, after cloning the repo make sure you have the latest updates to the vercel branch (there were recent changes) and are on the correct branch.

Then with the Vercel CLI installed, you can runvercel andvercel --prod to setup and update the deployment.

If you have any questions feel free to ask here (#390) or#361

You must be logged in to vote
0 replies
Comment options

I deploy a project with themain branch but showed the ```404:PAGE_NOT_FOUND```` error.

I got this domain from vercel:https://github-readme-streak-statistics.vercel.app/, it is not done so finally I delete the deployment.

😬If you don't mind, I am stopping this deployment process on vercel😥 and continuing with your version.

You must be logged in to vote
0 replies
Comment options

The main branch does not support vercel. There is a separate branch that does. I've added some steps to the readme which may help. It's likely not the only possible way, though.

You must be logged in to vote
1 reply
@sarveshdevrukhkar
Comment options

Yeah! the main branch is not supported by vercel 😅. but before trying on main, firstly I tried the vercel branch but during the deployment, I face some errors regarding deployment, I don't understand those so I delete that deployment project.

Now, I have read that readme. I will follow those steps.👍🏽

Comment options

I deployed mine on vercel with thevercel andvercel --prod commands, can confirm that some locale-related function is not working as the main instance, but looks good for now.

The locale function depends on theintl package in PHP, which is broken in upstream. Track the progress invercel-community/php#367.

For new-comer, here are a few things to notice:

  • If you decide to fork the repo, uncheck theCopy the main branch only option, sovercel branch is cloned to your repo
    Screenshot 2022-12-26 at 11 57 39 PM
  • After setting up the project in vercel, go toSettings ->Git ->Production Branch and set it tovercel
  • Git hook triggered deployment is failing as of117c0e7, reason unknown, I'll leave my build logs down here (Update: need to update vercel setting, seecomment)
Failed automatic build logs
[23:39:42.863] Cloning github.com/tomy0000000/github-readme-streak-stats (Branch: vercel, Commit: 117c0e7)[23:39:43.522] Cloning completed: 658.248ms[23:39:43.851] Restored build cache[23:39:43.903] Running "vercel build"[23:39:44.552] Vercel CLI 28.10.0[23:39:44.854] 🐘 Downloading user files[23:39:44.854] 🐘 Downloading PHP runtime files[23:39:44.858] 🐘 Installing Composer dependencies [START][23:39:45.113] [6.4MiB/0.10s] Installing dependencies from lock file[23:39:45.113] [6.4MiB/0.10s] Verifying lock file contents can be installed on current platform.[23:39:45.137] [6.9MiB/0.12s] Nothing to install, update or remove[23:39:45.141] [6.9MiB/0.12s] Generating autoload files[23:39:45.157] [7.0MiB/0.14s] 6 packages you are using are looking for funding.[23:39:45.158] [7.0MiB/0.14s] Use the `composer fund` command to find out more![23:39:45.158] [7.0MiB/0.14s] Memory usage: 7MiB (peak: 7.23MiB), time: 0.14s[23:39:45.167] 🐘 Installing Composer dependencies [DONE][23:39:45.238] 🐘 Creating lambda[23:39:45.242] 🐘 Downloading user files[23:39:45.242] 🐘 Downloading PHP runtime files[23:39:45.245] 🐘 Installing Composer dependencies [START][23:39:45.385] [3.1MiB/0.03s] Installing dependencies from lock file[23:39:45.385] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.[23:39:45.392] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:45.394] [3.5MiB/0.04s] Generating autoload files[23:39:45.407] [3.6MiB/0.05s] 6 packages you are using are looking for funding.[23:39:45.407] [3.6MiB/0.05s] Use the `composer fund` command to find out more![23:39:45.408] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s[23:39:45.432] 🐘 Installing Composer dependencies [DONE][23:39:45.543] 🐘 Creating lambda[23:39:45.545] 🐘 Downloading user files[23:39:45.546] 🐘 Downloading PHP runtime files[23:39:45.597] 🐘 Installing Composer dependencies [START][23:39:45.734] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:45.734] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:45.748] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:45.750] [3.5MiB/0.04s] Generating autoload files[23:39:45.766] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:45.766] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:45.767] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:45.784] 🐘 Installing Composer dependencies [DONE][23:39:45.885] 🐘 Creating lambda[23:39:45.886] 🐘 Downloading user files[23:39:45.887] 🐘 Downloading PHP runtime files[23:39:45.915] 🐘 Installing Composer dependencies [START][23:39:46.049] [3.1MiB/0.03s] Installing dependencies from lock file[23:39:46.050] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.[23:39:46.061] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:46.064] [3.5MiB/0.04s] Generating autoload files[23:39:46.080] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:46.081] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:46.081] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:46.093] 🐘 Installing Composer dependencies [DONE][23:39:46.191] 🐘 Creating lambda[23:39:46.192] 🐘 Downloading user files[23:39:46.193] 🐘 Downloading PHP runtime files[23:39:46.234] 🐘 Installing Composer dependencies [START][23:39:46.378] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:46.379] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:46.389] [3.6MiB/0.03s] Nothing to install, update or remove[23:39:46.393] [3.5MiB/0.04s] Generating autoload files[23:39:46.413] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:46.414] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:46.414] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:46.430] 🐘 Installing Composer dependencies [DONE][23:39:46.538] 🐘 Creating lambda[23:39:46.540] 🐘 Downloading user files[23:39:46.540] 🐘 Downloading PHP runtime files[23:39:46.587] 🐘 Installing Composer dependencies [START][23:39:46.757] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:46.757] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:46.766] [3.6MiB/0.03s] Nothing to install, update or remove[23:39:46.769] [3.5MiB/0.04s] Generating autoload files[23:39:46.785] [3.6MiB/0.05s] 6 packages you are using are looking for funding.[23:39:46.786] [3.6MiB/0.05s] Use the `composer fund` command to find out more![23:39:46.786] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s[23:39:46.800] 🐘 Installing Composer dependencies [DONE][23:39:46.911] 🐘 Creating lambda[23:39:46.912] 🐘 Downloading user files[23:39:46.913] 🐘 Downloading PHP runtime files[23:39:46.956] 🐘 Installing Composer dependencies [START][23:39:47.117] [3.1MiB/0.03s] Installing dependencies from lock file[23:39:47.118] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.[23:39:47.129] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:47.132] [3.5MiB/0.04s] Generating autoload files[23:39:47.148] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:47.149] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:47.149] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:47.163] 🐘 Installing Composer dependencies [DONE][23:39:47.266] 🐘 Creating lambda[23:39:47.267] 🐘 Downloading user files[23:39:47.268] 🐘 Downloading PHP runtime files[23:39:47.311] 🐘 Installing Composer dependencies [START][23:39:47.449] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:47.450] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:47.461] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:47.464] [3.5MiB/0.04s] Generating autoload files[23:39:47.485] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:47.485] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:47.485] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:47.500] 🐘 Installing Composer dependencies [DONE][23:39:47.603] 🐘 Creating lambda[23:39:47.606] 🐘 Downloading user files[23:39:47.606] 🐘 Downloading PHP runtime files[23:39:47.646] 🐘 Installing Composer dependencies [START][23:39:47.801] [3.1MiB/0.03s] Installing dependencies from lock file[23:39:47.802] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.[23:39:47.811] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:47.814] [3.5MiB/0.04s] Generating autoload files[23:39:47.831] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:47.831] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:47.831] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:47.844] 🐘 Installing Composer dependencies [DONE][23:39:47.951] 🐘 Creating lambda[23:39:47.952] 🐘 Downloading user files[23:39:47.953] 🐘 Downloading PHP runtime files[23:39:47.993] 🐘 Installing Composer dependencies [START][23:39:48.155] [3.1MiB/0.03s] Installing dependencies from lock file[23:39:48.156] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.[23:39:48.166] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:48.170] [3.5MiB/0.04s] Generating autoload files[23:39:48.189] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:48.190] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:48.190] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:48.205] 🐘 Installing Composer dependencies [DONE][23:39:48.308] 🐘 Creating lambda[23:39:48.309] 🐘 Downloading user files[23:39:48.310] 🐘 Downloading PHP runtime files[23:39:48.353] 🐘 Installing Composer dependencies [START][23:39:48.506] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:48.506] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:48.518] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:48.521] [3.5MiB/0.04s] Generating autoload files[23:39:48.541] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:48.541] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:48.542] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:48.560] 🐘 Installing Composer dependencies [DONE][23:39:48.681] 🐘 Creating lambda[23:39:48.682] 🐘 Downloading user files[23:39:48.683] 🐘 Downloading PHP runtime files[23:39:48.724] 🐘 Installing Composer dependencies [START][23:39:48.878] [3.1MiB/0.03s] Installing dependencies from lock file[23:39:48.879] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.[23:39:48.889] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:48.892] [3.5MiB/0.04s] Generating autoload files[23:39:48.912] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:48.912] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:48.912] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:48.930] 🐘 Installing Composer dependencies [DONE][23:39:49.052] 🐘 Creating lambda[23:39:49.053] 🐘 Downloading user files[23:39:49.054] 🐘 Downloading PHP runtime files[23:39:49.090] 🐘 Installing Composer dependencies [START][23:39:49.236] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:49.236] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:49.245] [3.6MiB/0.03s] Nothing to install, update or remove[23:39:49.248] [3.5MiB/0.03s] Generating autoload files[23:39:49.266] [3.6MiB/0.05s] 6 packages you are using are looking for funding.[23:39:49.267] [3.6MiB/0.05s] Use the `composer fund` command to find out more![23:39:49.267] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s[23:39:49.285] 🐘 Installing Composer dependencies [DONE][23:39:49.401] 🐘 Creating lambda[23:39:49.403] 🐘 Downloading user files[23:39:49.403] 🐘 Downloading PHP runtime files[23:39:49.443] 🐘 Installing Composer dependencies [START][23:39:49.602] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:49.603] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:49.614] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:49.618] [3.5MiB/0.04s] Generating autoload files[23:39:49.637] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:49.637] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:49.638] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:49.652] 🐘 Installing Composer dependencies [DONE][23:39:49.774] 🐘 Creating lambda[23:39:49.775] 🐘 Downloading user files[23:39:49.776] 🐘 Downloading PHP runtime files[23:39:49.816] 🐘 Installing Composer dependencies [START][23:39:49.957] [3.1MiB/0.03s] Installing dependencies from lock file[23:39:49.958] [3.1MiB/0.03s] Verifying lock file contents can be installed on current platform.[23:39:49.966] [3.6MiB/0.03s] Nothing to install, update or remove[23:39:49.968] [3.5MiB/0.04s] Generating autoload files[23:39:49.984] [3.6MiB/0.05s] 6 packages you are using are looking for funding.[23:39:49.984] [3.6MiB/0.05s] Use the `composer fund` command to find out more![23:39:49.985] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s[23:39:50.003] 🐘 Installing Composer dependencies [DONE][23:39:50.137] 🐘 Creating lambda[23:39:50.138] 🐘 Downloading user files[23:39:50.139] 🐘 Downloading PHP runtime files[23:39:50.182] 🐘 Installing Composer dependencies [START][23:39:50.324] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:50.325] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:50.336] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:50.340] [3.5MiB/0.04s] Generating autoload files[23:39:50.359] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:50.360] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:50.360] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:50.377] 🐘 Installing Composer dependencies [DONE][23:39:50.509] 🐘 Creating lambda[23:39:50.511] 🐘 Downloading user files[23:39:50.511] 🐘 Downloading PHP runtime files[23:39:50.549] 🐘 Installing Composer dependencies [START][23:39:50.688] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:50.689] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:50.699] [3.6MiB/0.03s] Nothing to install, update or remove[23:39:50.703] [3.5MiB/0.04s] Generating autoload files[23:39:50.719] [3.6MiB/0.05s] 6 packages you are using are looking for funding.[23:39:50.719] [3.6MiB/0.05s] Use the `composer fund` command to find out more![23:39:50.720] [3.5MiB/0.05s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.05s[23:39:50.741] 🐘 Installing Composer dependencies [DONE][23:39:50.853] 🐘 Creating lambda[23:39:50.854] 🐘 Downloading user files[23:39:50.854] 🐘 Downloading PHP runtime files[23:39:50.881] 🐘 Installing Composer dependencies [START][23:39:51.028] [3.1MiB/0.02s] Installing dependencies from lock file[23:39:51.028] [3.1MiB/0.02s] Verifying lock file contents can be installed on current platform.[23:39:51.040] [3.6MiB/0.04s] Nothing to install, update or remove[23:39:51.043] [3.5MiB/0.04s] Generating autoload files[23:39:51.060] [3.6MiB/0.06s] 6 packages you are using are looking for funding.[23:39:51.060] [3.6MiB/0.06s] Use the `composer fund` command to find out more![23:39:51.060] [3.5MiB/0.06s] Memory usage: 3.54MiB (peak: 3.81MiB), time: 0.06s[23:39:51.074] 🐘 Installing Composer dependencies [DONE][23:39:51.153] 🐘 Creating lambda[23:39:51.615] Error: EISDIR: illegal operation on a directory, read
You must be logged in to vote
3 replies
@DenverCoder1
Comment options

After setting up the project in vercel, go to Settings -> Git -> Production Branch and set it to vercel

Not actually required unless you want to set up the Git hook integration. You can deploy it from the command line without a GitHub repo.

Git hook triggered deployment is failing as of117c0e7, reason unknown, I'll leave my build logs down here

Yeah, I'm seeing that too with the automatic deployments. Also not sure why. Seems to happen even before that commit.

It might be a bug with Vercel PHP.

The CLI method seems to still work in any case though.

@DenverCoder1
Comment options

EISDIR: illegal operation on a directory, read

vercel-community/php#355 (comment)

Screenshot

As suggested here, try turning off the "Include source files outside of the Root Directory" setting to fix this.

@tomy0000000
Comment options

EISDIR: illegal operation on a directory, read

vercel-community/php#355 (comment)

Screenshot

As suggested here, try turning off the "Include source files outside of the Root Directory" setting to fix this.

This is actually working, nice 🎉

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
questionFurther information is requested
3 participants
@sarveshdevrukhkar@DenverCoder1@tomy0000000
Converted from issue

This discussion was converted from issue #389 on December 25, 2022 02:10.


[8]ページ先頭

©2009-2025 Movatter.jp