Skip to content
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

Embed Web UI in the binary #37

Open
imclint21 opened this issue Nov 30, 2019 · 2 comments
Open

Embed Web UI in the binary #37

imclint21 opened this issue Nov 30, 2019 · 2 comments
Assignees
Labels
core Core development help wanted Extra attention is needed question Further information is requested web-ui About the WEB UI developement

Comments

@imclint21
Copy link
Member

Hi,

@CephalonRho now you have migrated to warp, do you know how we can serve webui/dist but packed into the binary and not from the folder?

I had spoken with @jolhoeft in the past to do this with Nickel in the past (nickel-org/nickel.rs#441), but with warp I don't know how we can do this.

Best regards

@imclint21 imclint21 added help wanted Extra attention is needed question Further information is requested core Core development web-ui About the WEB UI developement labels Nov 30, 2019
@shuni64
Copy link
Contributor

shuni64 commented Nov 30, 2019

It should be almost the same as with Nickel, after embedding the files into the binary we'll have to write a Filter to serve files from the RustEmbed struct instead of from the actual filesystem.

@imclint21
Copy link
Member Author

Related issue: seanmonstar/warp#486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core development help wanted Extra attention is needed question Further information is requested web-ui About the WEB UI developement
Projects
None yet
Development

No branches or pull requests

3 participants