-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Make it easier for devs to be onboarded on this project #715
Comments
Hello @Rudd-O. Thanks for your feedback. There is a training we created for the Bristol conference, it is 2 years old, but you might find it useful. https://mockup-training.readthedocs.io/en/latest/index.html Does that look easier? maybe we should link it better from the product README |
Yes, it really should be included as part of the documentation. But the problem goes beyond lack of documentation. Let me put it this way: if I have to spin up a VM just to hack on a single line of LESS, I will not do it. If I have to download and run mystery meat from the Internet (quite literally what the FWIW, there is no way that, no matter how well-documented something is, I will let it touch my system files. |
@Rudd-O I understand your point, however for "hacking on a single line of LESS", you can simply clone the repo (as you would need to do on any software you want to contribute to), do your modification, and push it to a branch. Understand that mockup is not a 3 line library. It is a huge framework, you just need other software installed to be able to properly work with it, like bower, npm, and so on... Notice that the error you posted arises when running After doing what is suggested in Option 2, As you can see, the Vagrant option is provided for making it easier for people to get their hands dirty and hacking into mockup, without the need to be googling around, fixing npm permissions and whatnot... |
No way I'm doing that. If npm requires that, then npm is bad software built by people who have no clue how to do software. |
@Rudd-O If you read carefully, they give you 3 options, you should pick the one you find best for you. As per NPM, you will need to file a bug with them in order to help them solve their bad design destions. |
@frapell why do we need to do "npm link" though? My understanding is that this adds a link from the global npm packages to mockup, and that doesn't seem like a good thing for us to do by default, unless there's a reason it's necessary. |
@davisagli I don't know for sure, maybe @vangheem or @thet know? |
If we can do it without |
FWIW, I only ever use |
Relevant to this report: https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f?gi=d0ff8513b207 |
Not really relevant since Mockup doesn't require (last I checked) Babel, React, Redux, Flux, SystemJS, webpack or almost any of the other stuff mentioned there. I do think things could probably be made simpler and the barrier to entry lowered for newbies, however taking your frustrations out on the devs is not going to help much. |
Hi @Rudd-O , Regarding:
That's actually exactly the same problem you have when you install a Python package using |
@ebrehault: Or you can just not use the |
Yeah, you really only need nvm to manage different versions of node itself. Or if the software you're building runs 'npm link' ;-) Since no one seems to remember why we do that, I suggest we try removing it and see if anything breaks. |
Well, using npm without |
Yes, this is beginning to sound quite a lot like the article I posted, except it isn't about JS library hell, it's about tooling hell ;-) |
I had some success using the following buildout-Snippet: node.cfg: parts+= [node] then you can put something like the following into extends = and I also changed the Makefile to contain This prevents installing software as a root-User .... To build "make docs" I had to deactivate pattern.thememapper.less in docs.less also but this is another issue. Regards, |
Here is my experience trying to test a one-line LESS change:
mockup
clone from master into my projectmake bootstrap
What?
"Please try running this command again as root/Administrator."
HAHAHA. This make target wants to touch my
/usr/lib
? To compile a single line of LESS?No thanks, I'm closing the browser window and I'm forgetting about contributing to mockup.
I am glad it occurred to me to launch a disposable VM before I tried any of this, but no one is going to give me back the half an hour I had to waste on it.
:-(
The text was updated successfully, but these errors were encountered: