Embed static files #64
Labels
No Label
Brainstorm
Parent
bug
duplicate
enhancement
help wanted
idea
invalid
project/backend
project/frontend
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Blocks
#71 Setup automatic deployment
Chewing_Bever/fej
Reference: Chewing_Bever/fej#64
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
There's two approaches we can try:
Using this crate we could embed both the frontend & docs inside the binary, allowing for a truly single binary experience™. There's even a Rocket example.
A more simpler approach would be to just add the static files for the docs & frontend inside the container, and serve them using Rocket.
Both methods result in a single container deployment, which is what we want.
Embedding static files in the binaryto Embed static files