Code Monkey home page Code Monkey logo

Comments (6)

paulholden avatar paulholden commented on August 11, 2024 1

Installation is documented at https://moodledev.io/general/development/tools/nodejs#grunt

from moodle-docker.

fulldecent avatar fulldecent commented on August 11, 2024 1

Thank you, I hear you.

If that's the case, this advertisement should be scaled back:

Screenshot 2024-04-09 at 15 49 57

The the project scope can be reduced.

Screenshot 2024-04-09 at 15 51 18

And then we can remove all references to this repo as a developer resource. And then also we should start a new project to make a moodle dev docker.


The reference you point to at https://moodledev.io/general/development/tools/nodejs#grunt assuems that npx is installed on the development environment. So probably this docker project, or a moodle-dev-docker successor should support that.

from moodle-docker.

paulholden avatar paulholden commented on August 11, 2024

Hi @fulldecent - this repository is intended as a testing environment for Moodle, rather than a development environment

I've linked to the dev docs above for Node installation along with other dependencies

from moodle-docker.

stronk7 avatar stronk7 commented on August 11, 2024

Hola,

not sure which is the problem here, you can follow the instructions available in the page that @paulholden linked, both in the host OR within the php docker container and you will get all the nodejs stack installed and running.

Personally I do that in the host, because the container is not needed for all that nodejs stuff, but the very same can be done within the container if you prefer to do so.

  • Install nvm: wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
  • Install nodejs: nvm install && nvm use
  • Use nodejs: npx grunt amd

Exactly the same instructions apply to both, so I don't get which one the problem is. As said, the above works exactly the same in the host or inside the container (but I think it's "silly" to run that inside the PHP container, that's just a very personal opinion, feel free, of course).

Ciao :-)

from moodle-docker.

paulholden avatar paulholden commented on August 11, 2024

Thanks again @fulldecent - however nothing in the language you reference specifies that this is intended to be a development environment

"[...] aimed at Moodle developers and testers to easily deploy a testing environment" (emphasis mine)

from moodle-docker.

fulldecent avatar fulldecent commented on August 11, 2024

In my mind developers develop. But here developers do testing. Maybe this is an American English/Australian English thing, lol.

Thanks for that note. With it this is actually a development environment. I'll add a note to README if it's in project scope.

from moodle-docker.

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.