-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build instructions #51
Comments
Hi @balthatrix The build script is for making standalone executables using node webkit, and as you've found it's a bit out of date... For your case you may want to do an iframe embed. If you want to make your own modifications you can follow the instructions here: https://github.com/STRd6/pixel-editor#developer-instructions The pixel editor is built using my web based app editor and currently doesn't have any kind of local development environment. Let me know if you need any further help and I'll do my best! |
Thanks for the suggestions and prompt response! I'm taking this great opportunity to integrate coffee and haml into my skillset. I've been googling around, trying to figure out how I can render something from your project templates/libraries that I can put into a simple index.html file so we can host something to frame into the mother project. Currently we are imagining compiling the coffee and haml into js and html, using browserfy here-> http://browserify.org/ to bundle all your code, and then including the bundled code in an index file that mirrors one of your templates. My skepticism comes in though because the haml templates in the project don't seem to make any references to the code elsewhere in the project. For a newb to the tech involved here, would you tell me if I'm on the right track? Can you define a high level process I can go through to accomplish this? In the meantime I'll be playing around with compiling these shorthand scripts :) Thanks again! |
Figured out a solution using an iframe of a clone of the gh-pages |
@balthatrix hi! Could you shed some light on how you implemented the |
@phoenixbox Hey there, since I don't have coffeescript or haml in my skill sets and had a deadline, here's what I did: I wrote this javascript mod (below) inside the index.html file, which communicates with the framing app. The framing app provides an interface to browse and click images. Basically, when someone clicks an image on my site, it injects the raw Base 64 image data into the pixel editor. Then I overrode the saving functionality in the pixel-editor to instead send that data back to the framing app to save in the DB. I was able to tinker on the wonderfully robust chrome console to know what info was where. Hope this helps you out!
|
@balthatrix wow thanks so much for the thoughtful response! This is why open source is so great. I will take a good look at this and see how I can implement it. Thank you 👍 |
Really amazing project! I'd like to use the front end image editing portion of this project for a texture pack editor on my company's site (we help teach kids how to code).
I'm tinkering with the code on my machine, and I can't figure out how to build it. When I run the ./script/build script, I get a bunch of zip files on my desktop, but they don't contain anything, so I assume these are temporary artifacts of some sort.
Can you make some build instructions for this project?
The text was updated successfully, but these errors were encountered: