January 5, 2017 at 11:44 am #3068
In order to automate the process a bit more, it would be great to be able to have an offline tool to convert BSS designs into HTML/JS/CSS via command line.
In this way, publishing process can be automated, testing becomes easier, etc.January 5, 2017 at 12:06 pm #3069Chris HackwoodMemberValued
That’s what export button does isn’t it?? can also be done offline
Or is this something else?January 5, 2017 at 12:07 pm #3070
What I meant is a command line tool that can have the bsdesign file as an input and spit out the same result as the export button you mention.May 11, 2018 at 4:26 am #10787
I agree. This would be wonderful to have!May 11, 2018 at 4:16 pm #10794JoMember
In other words without opening the BSS app, be able to extract the files from the design file? I admit that’s an interesting idea if that’s what you mean, but I see no real worth in it myself to be honest. BSS opens pretty quickly, you have to open the Command Line tool/app to do this so what’s the difference which app you open to do it? I don’t see this as something that would be overall helpful and seems to be a singular or very small population of users that would actually benefit from it. Just my opinion … unless I’m misunderstanding what you mean of course. 🙂May 11, 2018 at 5:48 pm #10798
It’s incredibly useful from an automation standpoint. I’m needing it in a slightly different folder structure with some modifications, so if I had this functionality, I could automate the whole process.May 13, 2018 at 12:56 pm #10828JoMember
As I said, I don’t see a lot of need for this myself. Yes it would be “nice” to be able to structure our files to our own style of folder structuring rather than having it set for us, but it’s not a necessity for most so far as what I’ve seen on the forums. I personally hated the structure when I first started working with BSS, but I’ve grown to see how useful it is for updating so that I put all my other files “outside” the Assets folder and that way will never accidentally delete any custom things I add outside of BSS such as galleries, forms and so on. Granted, I would still love to be able to manipulate my files how “I” want to organize them rather than a proprietary setup that I don’t have control over, but … I understand their need completely, it is what makes updating the Bootstrap versions doable and simpler for them, and that works for me.
Anyways, I digress, but the main point is, how necessary is it? You’re the first person to ever ask for it in almost 2 years of being on the forums ….May 14, 2018 at 7:26 am #10845
Imagine a system where whenever a change is registered to have been made to the .bss file, the VCS automatically needs to redeploy the site.
The propietary .bss wouldn’t be a problem for CI/CD purposes if we have a tool to export the site (shouldn’t be too difficult since that functionality already exists in the desktop electron app).
Of course, it can be considered a nice to have, but to ‘create component’ (which is almost all the functionality we have available from the bstudio CLI) has also a workaround in the UI.May 14, 2018 at 12:37 pm #10849BSS_UserMember
The proprietary .bss wouldn’t be a problem …
… if, it wasn’t proprietary and just used source native files. 😉May 14, 2018 at 5:13 pm #10851
@bss_user, have you used a Bootstrap designer that only uses native files?! As an engineer, I understand that adds a tremendous amount of complexity, and you end up with a lot of software glitches as a result. I’m glad that Bootstrap Studio doesn’t use native files.
I agree with @fer that even if it qualifies as a “nice to have”, much of the supporting framework appears to already exist.May 14, 2018 at 6:57 pm #10854BSS_UserMember
@matthiasmiller , Pinegrow as one example uses native files while working with Bootstrap, can you be more specific on the complexities or glitches you speak of ?May 15, 2018 at 7:41 am #10858
I just commented on the developer’s commit on Github: https://github.com/bootstrapstudio/bstudio/commit/8e66360324618b84eb453de9d3943c8ef42570c4May 15, 2018 at 7:12 pm #10868May 17, 2018 at 1:29 pm #10893Martin AngelovBootstrap Studio Developer
Hey guys! To address the points raised:
May 17, 2018 at 2:10 pm #10895
- Bootstrap Studio to use native files. We store your designs in proprietary .bssdesign files instead of HTML and CSS, because we don’t actually store your code as big strings of HTML and CSS. Instead we store everything as a tree of objects and meta data. This is what enables drag & drop, and advanced features like component linking.
- Controlling the app from the command line. As @fer has discovered, we have the bstudio cli app. There was near zero interest after we released it, and we put any plans to add further functionality on hold. If there is sufficient interest, we can add more features to it. I would be curious to read what ideas you have for it.
hey @martin! thank you very much for clarifying! I don’t think to have a propietary files is an issue at all!
However, it would be lovely if the cli tool can run the export process a bssdesign project file under same configuration premises as expressed under options.
As an scenario sample for this possible headless functionality, imagine a CI/CD environment where I detect changes on my project.bssdesign placed on git. Therefore, we want Jenkins (or any other) to be able to redeploy the site every time that my bssdesign project file changes.
Possible additional feature for this cli tool: some deployment command where the user is directly able to deploy an export of the current website to some other service, ex: ec2, gh-pages or my preferred VPS). Maybe also possible to export to bss cloud when entering your user/license.
@martin: I am pretty sure many dev folks would like to contribute freely if you open the product’s api 🙂
You must be logged in to reply to this topic.