Ashutosh00710 / github-readme-activity-graph

A dynamically generated activity graph to show your GitHub activities of last 31 days.
https://ashutosh00710.github.io/github-readme-activity-graph
MIT License
1.68k stars 685 forks source link

How to deploy it on vercel or cyclic.app #191

Closed PiyushYadav007 closed 1 year ago

PiyushYadav007 commented 1 year ago

I tried to deploy it on both the servers. I got error on vercel but sucessful deployment on cyclic but its api is not working on that please check https://activity-graph.cyclic.app/

github-actions[bot] commented 1 year ago

Hi @PiyushYadav007, thanks for opening this issue.

fabianocouto commented 1 year ago

Hi @PiyushYadav007, to deploy on vercel just create this file in project root directory. https://github.com/fabianocouto/readme-activity-graph/blob/main/vercel.json Go to https://vercel.com/dashboard and create a new project linked to your fork. Hope this helps!

fabianocouto commented 1 year ago

I created a pull request for this: https://github.com/Ashutosh00710/github-readme-activity-graph/pull/195

Ashutosh00710 commented 1 year ago

Hi @PiyushYadav007, it seems like you might be encountering an error because you haven't configured the access token in your environment variables. To resolve this, you can follow these instructions:

image

Once you've completed these steps, the error should be resolved.

PiyushYadav007 commented 1 year ago

Hi @PiyushYadav007, to deploy on vercel just create this file in project root directory. https://github.com/fabianocouto/readme-activity-graph/blob/main/vercel.json Go to https://vercel.com/dashboard and create a new project linked to your fork. Hope this helps!

Its not working on vercel. now trying on cyclic

PiyushYadav007 commented 1 year ago

Hi @PiyushYadav007, it seems like you might be encountering an error because you haven't configured the access token in your environment variables. To resolve this, you can follow these instructions:

image

Once you've completed these steps, the error should be resolved.

I did what you told me please check once that I have done them correct or not

fabianocouto commented 1 year ago

Hi @PiyushYadav007, it seems like you might be encountering an error because you haven't configured the access token in your environment variables. To resolve this, you can follow these instructions:

image Once you've completed these steps, the error should be resolved.

I did what you told me please check once that I have done them correct or not

Hi @PiyushYadav007 ! Performe these steps: https://github.com/Ashutosh00710/github-readme-activity-graph#deploy-on-your-own-vercel-instance Steps 9 and 10 to be exact.