Code Monkey home page Code Monkey logo

Comments (10)

michielbdejong avatar michielbdejong commented on May 28, 2024

Btw, apart from the instructions in https://github.com/xMartin/Gruppenkasse/blob/master/README.md i used the remoteStorage-0.7-en branch as you told me to, and i also used the Source download from http://dojotoolkit.org/download/ ( 'Dojo Toolkit SDK 1.8.3' rather than 'Release' or 'Base').

We are mainly debugging the readme file here, i guess :)

from grouptabs.

xMartin avatar xMartin commented on May 28, 2024

I'm sorry you have a hard time to get there. This thing is just not really prepared to be shared. Anyway, I just tried your deployment and before I get the "require not found" error I get a 404 for the dojo files. So you didn't copy or deploy the dojo files correctly as specified in the readme. Also use the readme of the branch you're using: https://github.com/xMartin/Gruppenkasse/tree/remoteStorage-0.7-en

from grouptabs.

michielbdejong avatar michielbdejong commented on May 28, 2024

oh right, the error was that the .gitignore file was preventing 5apps deployment from working. i now added dojo into the source tree but it's thousands of files.

is there a better way to deploy a dojo-based app on @5apps? i think you said you copy the built app into a fresh git repo and then push it from there? maybe that should be added to the readme.

from grouptabs.

xMartin avatar xMartin commented on May 28, 2024

Yes, I use a separate repo for deployment. Still, copying all the files is a good idea so you can require files at runtime. Why do you bother building and deploying anyway? The whole process is a bit more complicated but gives you so much more power. Why do you not just do local development first?

from grouptabs.

michielbdejong avatar michielbdejong commented on May 28, 2024

yeah i am also in parallel trying to do local development, getting different errors there :)

i understand your reasons for not wanting to publish a deploy branch, but in this case it is really encumbering the open source process. at least there should be good instructions so that other people can reuse and contribute.

so that's why i want to do the build at least once, even if just to debug the build instructions. after that, i will start debugging my actual bug. :)

from grouptabs.

michielbdejong avatar michielbdejong commented on May 28, 2024

so i had to manually copy all the files to js/release/, i assume this was supposed to happen when running build.sh but it didn't.
5apps deploys are taking up to 30 minutes and still spinning. one of them failed on the 'minify javascript' step (makes sense, since the app is now 95Mb), so i disabled that step in the 5apps deploy config.

from grouptabs.

michielbdejong avatar michielbdejong commented on May 28, 2024

got it working with the unbuilt version now, which takes like 20 seconds to load. somehow it looks like build.sh is not doing anything, what should be the last line in its output? for me it's "starting parsing resource..."

i'm at the point where i think the easiest way to build your app is to scrape it from the deployed version rather than trying to reverse-engineer your build instructions, sorry.

would it be possible that you just send me a tarball of the built app? that would allow me to put debug statements in there and discover why it is not displaying my data. i have been working on this for like 5 hours and i still haven't succeeded in recreating the live version from what you published in this repo.

from grouptabs.

xMartin avatar xMartin commented on May 28, 2024

Sorry you're still having trouble. I agree it's a good idea to test the whole deployment process but obviously this is not so easy. Please just do development and don't mind the build. Don't waste your time. You're right about open-source and that it should be easy but I just didn't focus on that, yet. Development should be fine, though. Dojo is more of an enterprise thing and things just don't work the way you might be used to. Also I didn't see a reason to come up with detailed instructions because I go the normal Dojo way of things and if you know these you will know how to do it. Most of the features 5apps offer just don't make sense for a Dojo app. In fact, this is all about consequently using AMD, not just Dojo. A build will be minified already. I also provide my own manifest file. Deployment of all these files still works with 5apps. I made sure together with basti that they can handle these many files. Just switch off all the features.

Please do not try to debug the build version. That doesn't make any sense. Please just run the dev version for now. If all works, we can see what to do next.

from grouptabs.

michielbdejong avatar michielbdejong commented on May 28, 2024

thanks for your help! again, i understand that you refuse to publish your release branch, and yeah, i guess you are right to just refer people to the dojo documentation if it is maybe a bit hard to build your app from source.

So here is a scrape: https://github.com/michielbdejong/Gruppenkasse/tree/release/js/release :)

i guess that resolves this issue, closing.

from grouptabs.

xMartin avatar xMartin commented on May 28, 2024

Just for the record: the app works fine without building ("optimizing") it. It will just load slower but debugging is much better. Building is also straight forward I think but even if more help is needed I will wait until people come up with serious improvements of the app.

from grouptabs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.