How to run an existing moodle site locally

Re: How to run an existing moodle site locally

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

Was waiting to see if any developer would respond but it looks like they are all busy or ignore anything in other forums like General Help.   There is a forum for developers so if you are a developer, suspect the best advice could be acquired there.

https://moodle.org/mod/forum/view.php?id=55

Might request of the forum moderator that your posting be moved to the Developer Forums.

Having said that, however, the questions about how one gets a backup of a site onto a Windows machine sort of indicates you are beginning as a developer.

May as well begin here:

https://docs.moodle.org/33/en/Site_backup

Don't run anything Windows anymore myself, so restoring the backup to Windows, a Windows person would have to assist you with (hmmmm used hollar at a crowd of techs and one was pretty much assured that one could hit a Windows tech ... think that is changing today).

Moodle consist of a data base, the code, and a data directory.   It's the data base that's very key to what you see in a moodle site.   So there are three main areas one needs to setup ... a web service with PHP supports, a database server that can talk to the moodle code and a directory that moodle code will use for it's data.   It's not like a static web site consisting of just files and js or embedded content.

And then one needs to remember, if you choose the development platform to be Windows while the producton platform is Linux ... there's enough of a difference to be aware - IDE or not.   Would also suggest one needs to self-educate or ask developers advice on using git for code development.

'spirit of sharing', Ken