/moodle-vagrant

WIP adapting a PHP5 Vagrant for Moodle

Primary LanguagePuppet

Moodle on vagrant-php-box

Set up super fast a PHP5 development box with apache, mysql, phpmyadmin and whatever else that you may need.

Changes from original Vagrant was to go to php5.6, and add missing php packages needed by Moodle, prep the DB and add the CRON.

How to run

  • Install vagrant using the installation instructions in the Getting Started document
  • Clone this repository and run $ vagrant up
  • Modify the Vagrant File to point the Sync Folders to where your moodle code is, and where the mooodledata should go
  • IP is 192.168.10.10, so add it to your host file with the domain name of your choosing
  • Acess http:///install.php and go through the install
  • If you need to re-install be sure to first remove the config.php added to your moodle folder

With ngrok

You can expose your local moodle using ngrok (useful when your install must be reachable from the internet, for example for call backs).

Since with the free version domain names will change, I used the following recipe: http://www.inmotionhosting.com/support/edu/moodle/advanced-tutorials/change-url

ngrok http 8458

PHP My Admin

  • Available on localhost:8080/phpmyadmin
  • User: root Password: root