I am new to vercel hosting,
When I clicked on deploy I got an error related to code not found,
I belive I did a mistake in setting the correct directory of code on vercel. Can you please be adding more info for self hosting.
After clicking the deploy button you should get this screen

@anuraghazra yes after here please
Then just click continue and select your account and again click continue, after that you have to create a personal access token from github to add it in the environment variables
@anuraghazra

yeah just select the personal account

Continue from here

Environment variable set here any other change required? @anuraghazra
It should just work. try it
@anuraghazra
Below is the error that is coming

Tried after cleaning also but no benefit
Thanks for the quick help :)
Make sure your vercel account is connected to Github
It got deployed, recived a mail
I found that the repo that it created was empty so I cloned the code and added in it's created repo and then used a different name.
I am not sure if this is the reason that solved the issue. But maybe someone can try this in future.
Thankyou again
I see, well vercel should automatically clone the repo to your account if you have github integration enabled
Yes it's enabled without that it wasn't letting me go ahead.
Btwn this is a really nice project, thanks for this.
Issue is solved.
Great!
I had the same issue: Vercel created a new empty repo. I'm new to Vercel so don't know if this is a Vercel bug.
My solution was to fork this repo, then at https://vercel.com/import, "Import Git Repository" _not_ "Import Template"
Might even be better than using this repo as a template, because GitHub recognizes my repo as a fork. So your fork count goes up, and I get the convenient UI for seeing if my repo is behind.
Thanks @olets , This is perfect.
Most helpful comment
I had the same issue: Vercel created a new empty repo. I'm new to Vercel so don't know if this is a Vercel bug.
My solution was to fork this repo, then at https://vercel.com/import, "Import Git Repository" _not_ "Import Template"
Might even be better than using this repo as a template, because GitHub recognizes my repo as a fork. So your fork count goes up, and I get the convenient UI for seeing if my repo is behind.