how to install a project locally? #14
-
I can not deploy to vercel hosting |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @kiberlain, Can you provide some additional details on your local Retype setup and what might be required for Vercel? Any details on what exactly is not working would be helpful. I don't have experience with Vercel, but when Retype builds your project, everything that is required to host your project on a web server is sent to the The built website is a static html website and no specific server-side technology is required, other than the ability to host static files. If you setup the Retype GitHub Action to build your project on each new push, the default Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
In case you are serving the files elsewhere not the website root, you need to set retype.json's So if the local server path is something like In other words, it should point to your documentation's root relative to the website's. |
Beta Was this translation helpful? Give feedback.
-
Hey, we've moved your issue into a thread, so don't mind the "issue closed" message; we just converted it into a discussion. |
Beta Was this translation helpful? Give feedback.
In case you are serving the files elsewhere not the website root, you need to set retype.json's
base
config.So if the local server path is something like
wwwroot/docs
, so public address would be http://myhost.com/docs), the retype.json file would need to have"base": "docs"
to honor that path.In other words, it should point to your documentation's root relative to the website's.