Help with hosting, operators, templates and styling #584
-
Hi, I have been trying to leverage Lowdefy for a small project and I am curious to know how can I implement/understand the following -
While the examples have a lot of info, they are all on different/previous versions of Lowdefy. Also, a more elaborate example of using the operators, templates and can be really helpful. Any help/guidance on this would be really great!. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
We are happy to help. I have converted your issue to a discussion, and I am going to answer each question as a separate answer so we can discuss each separately. A number of your questions will be fixed in the next release, which should be 3.16.0. Please also feel free to join our Discord (https://discord.gg/WmcJgXt), we can easily help you with specific questions there. We definitely have a lot of work to do on improving the docs and examples. We are planning on adding some tutorial videos that explain concepts a little in depth. |
Beta Was this translation helpful? Give feedback.
-
modify Favicon/ browser tab iconI created an issue to document this. To change the favicon or the icons that appear in the header you can add the following files to a folder called
The public folder is currently only supported apps deployed with Netlify. The next release adds support in the CLI dev server. It should work fine in the Docker server, but more on that below. |
Beta Was this translation helpful? Give feedback.
-
deploying this application as a docker container/hosting itWe currently have a Docker server in the repository, but we are not building and publishing images, that's on our roadmap to do soon, so if you could help test things that would be great. Currently you can clone the repository and build an image from the Dockerfile at You then need to load your Lowdefy config into the image. Then use a Dockerfile like this to create an image with the configuration loaded:
The following works as a docker compose file:
|
Beta Was this translation helpful? Give feedback.
-
using local resources like images, styling, and scripts, global CSSThe next release (should be 3.16.0) will add support for user-defined HTML in the head and body tags. You can use this to load scripts and CSS. This release also includes Javascript actions and updates to JavaScript operators. All files that are in the |
Beta Was this translation helpful? Give feedback.
-
display an image without using the 'Html' blockWe can add this as a block. Please add this on the new blocks voting board. |
Beta Was this translation helpful? Give feedback.
-
understand how to use templatesThe key to templates are the When the app is being built, if a The power of the Using Using Nunjucks template files ( # In file template.yaml.njk
id: box_{{ id }}
type: Box
blocks:
- id: button_1_{{ id }}
type: Button
- id: button_2_{{ id }}
type: Button You can now reference this file multiple times on the same page, with different ids as vars. Transformer functions take the output from the |
Beta Was this translation helpful? Give feedback.
-
Many thanks for your immediate help on this. I will test the Dockerfile and will get back to you. many thanks again! |
Beta Was this translation helpful? Give feedback.
Hi @vaddisrinivas
We are happy to help. I have converted your issue to a discussion, and I am going to answer each question as a separate answer so we can discuss each separately. A number of your questions will be fixed in the next release, which should be 3.16.0.
Please also feel free to join our Discord (https://discord.gg/WmcJgXt), we can easily help you with specific questions there.
We definitely have a lot of work to do on improving the docs and examples. We are planning on adding some tutorial videos that explain concepts a little in depth.