Replies: 3 comments
-
Hello! This is a great topic, with lots of separate issues that I need to answer better in the documentation. Right now, Emissary is already a pretty complicated engine, but with woefully inadequate docs. Give me a bit of time to write up thorough answers for you? |
Beta Was this translation helpful? Give feedback.
-
On 2, yes. Schema and template CHANGES are hot reloaded whenever you make changes. The only thing you'll need to restart for is when you: 1) add a NEW schema or template to an existing directory, and 2) make changes to the underlying Go app (obviously). |
Beta Was this translation helpful? Give feedback.
-
On 3 -- The Bandwagon project is a pretty good example of making one content type that fits into another one. In it, albums fit (only) into custom profiles, and songs fit (only) into albums. This could certainly use more info, but this is an okay example for now. Nested Directory NamesAnd, regarding directory names, even though a stream may be a "child" of another, it's always referenced on the top-level directory of the URL. So, if item "123" has a child "456" then you could go to https://myserver/123 or https://myserver/456 but the directories don't nest -- so https://myserver/123/456 is not possible. This is inconvenient, but it's important to Emissary for a couple of reasons. Primarily, these deeply nested routes would complicate the logic for defining custom actions that make Emissary templates work the way they do. If you see a route like: /abc/def -- is "def" the name of an action on item "abc"? Or is it its own stream named "def" that's just nested under its parent "abc"? Static FilesYou can include static files as resources in Themes and Templates -- just include a NOTE: if you want to include JS or CSS files, there's a better way. Put these text files into a bundle and Emissary will automatically combine and minify them for you. It's not WebPack, but it's still pretty neat. |
Beta Was this translation helpful? Give feedback.
-
This seems like a neat project. A while back I had the idea for something like a federated itch/Steam for games and other digital projects but didn't want to build it from scratch. Saw the Bandwagon presentation at FediForum and figured that's basically what I want to make, except scoped to games/books/other singular projects, and maybe with integration into launchers for fetching updates.
I think what might help me are practical getting started guides that might take me through how to build specific things/accomplish certain tasks. In particular, things I have questions about:
The docs seem solid but it's a bit tough to figure out how to start. My inclination is to try building my current site in Emissary but I'm not clear how to then extract those templates into something like Bandwagon for games. Thanks for any pointers.
Beta Was this translation helpful? Give feedback.
All reactions