Issue with ignite_app.sh script and missing documentation
curl https://raw.githubusercontent.com/Hammad-hab/CombustUI/main/create_new_app.sh -o ignite_app.sh
returns "404 - Not Found"
You can find the old script here: https://raw.githubusercontent.com/Hammad-hab/CombustUI/refs/heads/dev/create_new_app.sh. Keep in mind that you'll need to install fltk too using homebrew, apt or whatever package manager you have
The Readme still references this script. Installation as explained there does not work.
Ok, I'll make sure to fix that
@gonsolo, this issue has been resolved here #6
Downloading works now, generating an example app via ./ignite_app.sh works too, but then? There is an empty app.[fire], but no instructions what to do, copying the example from the README into this app.[fire] generates a lot of errors.
Frankly, if you can't provide instructions how to use this that work within one minute, nobody is going to use this. :(
Sorry about the confusion and the rough edges right now. I’m currently working on writing clear documentation, and I plan to have it released by the end of this month. That should make getting started much easier.
Could you share the errors you're encountering? I could help you with that
Downloading works now, generating an example app via ./ignite_app.sh works too, but then? There is an empty app.[fire], but no instructions what to do, copying the example from the README into this app.[fire] generates a lot of errors.
Frankly, if you can't provide instructions how to use this that work within one minute, nobody is going to use this. :(
I generate the project, change dir into it and then what? There are some files and directories
app.🔥 assets CHANGELOG examples LICENSE logo.jpeg magic.lock maplib mjui mojoproject.toml pixi.toml README.md USAGE.md XOsX.gif
and absolutely no instructions what to do there.
@gonsolo, I've done some inspection and it seems that the errors you're getting are being caused by the ignite_app script.
Just to be sure, could you send the contents of /mjui/fltk_bindings/dll.mojo? If that file doesn't include a init() function then it's most likely that the script is cloning an old version of the repo
cat mjui/fltk_bindings/dll.mojo:
from sys.ffi import DLHandle, UnsafePointer\nvar __dll = DLHandle('/home/gonsolo/tmp/Combust/Bla/mjui/fltk_bindings/libc/out/mjui.dylib')
Thanks for providing that. It looks like the issue might be from my create_app script. I'll review it and work on fixing the issue. I’ll keep you update you once it's resolved.
@gonsolo the API Reference for combustui have been released, you can check them out at:
- https://hammad-hab.github.io/CombustUI/API_REFERENCE.html
Additionally, there are examples available at https://hammad-hab.github.io/CombustUI/EXAMPLES.html.
Please note that the old script ignite_app.sh has been deprecated in favor of create_app.py which provides more functionality and supports installing FLTK. You can view the proper installation and setup instructions here