New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment details #19
Comments
On retest the 'npm run build' called the 'ng build' so 1) above is closed. |
Adding an index that redirects wouldn't be that hard, however the more complicated thing would be setting Angular's "base-href" tag correctly. in this case I imagine it would need to be "/kip/public". You can set it with a custom build command (see https://github.com/mxtommy/Kip/blob/master/package.json#L21 for how I build it for NPM which the node server uses) I'm not quite sure how I could automate that though. Angular environment expects you to build locally and deploy the built artifacts. With npm package for node server I build locally manually, and can set the href. (artifacts end up in /public) and node server serves from public. I'm open to ideas if you have any! :) |
Ive have this working with a very simple mod. It then starts correctly and works under signalk-java. |
Nice work, really like the project :-)
Ive been installing via signalk-java using the new artemis server.
In the interests of auto-installs, it would be good if it all worked with std calls.
In Kip I need to launch /Kip/public/index.html. Then it fails as the tag is '/'
So:
Please add an index.html in the root, which redirects to public/
Adjust to work as That may need some thought as Im not sure how other projects deploy?
The text was updated successfully, but these errors were encountered: