Comments (6)
Installation is documented at https://moodledev.io/general/development/tools/nodejs#grunt
from moodle-docker.
Thank you, I hear you.
If that's the case, this advertisement should be scaled back:
The the project scope can be reduced.
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.
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.
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.
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.
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)
- Add support for database manager/administration tool HOT 5
- MacOS Selenium ARM Images HOT 2
- Add MOODLE_DOCKER_DBHOST HOT 3
- breakpoints for phpUnit Tests when running in the container HOT 5
- Document Docker CLI version requirements HOT 4
- Invalid interpolation format HOT 2
- Webserver exits on M1 HOT 11
- Add support for new sqlsrv driver that is using odbc18 HOT 1
- help: fresh install keeps logining out as time out HOT 10
- Switch from mailhog to mailpit
- interest on having wrapping scripts? HOT 2
- Issue with Windows WSL2 and latest version of moodle docker HOT 4
- Add support for local certificates for Windows
- Forbidden HOT 5
- Mailpit UI no longer accessible HOT 1
- Cover mailpit with some integration tests
- HEADs UP: This repo has moved from "master" to "main"
- Env var to flag moodle-docker environment running HOT 5
- Allow Behat timeout be increased via an environment variable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-docker.