You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.
I'd like to serve a project inside a gh-pages static site. I've managed to launch the server with http-server but don't know how to do it without having control of a server.
The text was updated successfully, but these errors were encountered:
You can just put a web server (e.g. nginx) in front of it as a reverse proxy (i.e. your-app.com/admin/dashboard should just serve your-app.com/ but keep the url structure intact so that the router can do its job). This allows the compiled files to be served to the client; basically, if you're not going to use an app server like the one provided via Koa, whatever you use to serve it needs to perform that role.
This is fairly standard SOP for a single page app that doesn't perform universal rendering, so if you do some digging on setting up a reverse proxy there should be a good number of resources available.
Also, I forgot: we have an ongoing chore to improve the README for a more helpful and friendly deployment description. Going to close this in favor of #730, so if you have any more questions drop them there. Thanks!
I'd like to serve a project inside a gh-pages static site. I've managed to launch the server with
http-server
but don't know how to do it without having control of a server.The text was updated successfully, but these errors were encountered: