Skip to content
tafkey edited this page Feb 4, 2013 · 4 revisions

agriMoodle

How to install

The easy way

Installing agriMoodle is generally easy if you already have a hosting provider or test machine with basic support for Apache, PHP and MySQL. Just get the zip file with all the code from https://github.com/agroknow/agrimoodle/archive/master.zip, fire your browser and open the install.php page. Follow the instructions, provide some parameters and you should be up and running in less that 5 minutes.

The cool way

The cool and modern way to setup an agriMoodle instance is to have a custom-built image that you can use to deploy on your favourite cloud infrastructure.

It involves a straight-forward, 3 steps procedure:

  1. Send us an e-mail at [email protected], or personally to agriMoodle's team lead, Tasos [email protected]. Describe in this e-mail your cloud infrastructure and VM's specifications (e.g. Amazon, micro instance).
  2. We'll prepare a VM image and send you the link for downloading, along with specific instructions.
  3. You use your cloud infrastructure control panel to deploy the image!

The hacker's way

Be warned: opting to follow the fun way would need to get the hacker out of you and could lead to a certain degree of frustration.

  1. Prepare your host environment. You'd preferably have a LAMP setup (Linux, Apache, MySQL, PHP) but you could do away with a WAMP (Windows and the rest).
  2. You also need git, at least if you'd like to be able to commit back to the source code any of your hacks!
  3. Enter https://github.com/agroknow/agrimoodle, find the "read only" URL for the code repository and copy it to your clipboard. Well, OK, here it is for your convenience: git://github.com/agroknow/agrimoodle.git
  4. Use it to clone the whole repository into your host machine: Enter git clone git://github.com/agroknow/agrimoodle.git in your command line or use your git gui client of choice!
  5. Fire-up your browser and visit install.php: http://your.serv.er/path/to/agrimoodle/install.php
  6. Follow the instructions and provide the configuration details.
  7. Let Moodle update itself with the latest and greatest fixes from the core as well as the modules that are integrated in agriMoodle.
  8. You should then fill in the details for the Administrator's profile, including the username and password. Take care to note these down!
  9. Give the name and a short description for your agriMoodle instance. Check the default configuration and change anything if you feel son.
  10. That's all! After a while you should be looking the green welcome page of agriMoodle. You can now enjoy your success and take a breath before starting to configure and administer you new agriMoodle instance!
Clone this wiki locally