Development:Moodle IDE: Difference between revisions

From MoodleDocs
Line 11: Line 11:


=== Readme ===
=== Readme ===
///////////////////////////////////////////////////////////////////////////
Student Developer: [[User:Grady Laksmono|Grady Laksmono]]
//                                                                      //
Mentor: ''Petr Skoda'' and ''Anthony Borrow''
// Moodle Integrated Development Environment (Moodle IDE)                //
//                                                                      //
///////////////////////////////////////////////////////////////////////////
//                                                                      //
// NOTICE OF COPYRIGHT                                                  //
//                                                                      //
// Moodle - Modular Object-Oriented Dynamic Learning Environment        //
//          http://moodle.org                                            //
//                                                                      //
// Copyright (C) 2008 onwards Grady Laksmono, Moodle, and others        //
//          http://moodle.com                                            //
// Mentor: Petr Skoda and Anthony Borrow //
//                                                                      //
// This program is free software; you can redistribute it and/or modify  //
// it under the terms of the GNU General Public License as published by  //
// the Free Software Foundation; either version 2 of the License, or    //
// (at your option) any later version.                                  //
//                                                                      //
// This program is distributed in the hope that it will be useful,      //
// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        //
// GNU General Public License for more details:                          //
//                                                                      //
//          http://www.gnu.org/copyleft/gpl.html                        //
//                                                                      //
///////////////////////////////////////////////////////////////////////////


=====================
==== Workspace Environment ====
Workspace Environment
=====================


1. Unzip Moodle-IDE package
1. Unzip Moodle-IDE package
Line 53: Line 25:
7. Click Finish
7. Click Finish


=================
==== Installing Moodle ====
Installing Moodle
=================


Assuming you're using the default configuration, press the orange "X" button  
Assuming you're using the default configuration, press the orange "X" button  
in the toolbar to run XAMPP (Apache, PHP, and MySQL).
in the toolbar to run XAMPP (Apache, PHP, and MySQL).


!NOTE
'''!NOTE'''
If you have previously installed Apache on your computer. You will see
If you have previously installed Apache on your computer. You will see
a red error message. The solution is to stop your previosly installed Apache
a red error message. The solution is to stop your previosly installed Apache
Line 69: Line 39:
3. Install Moodle
3. Install Moodle


OR
'''OR'''


1. Right click install.php in the project
1. Right click install.php in the project

Revision as of 23:40, 24 June 2008

Moodle IDE (2.0.0)

  • Community feedback forum discussion

Features

  • Create a Moodle project
  • Apache, MySQL, and PHP (XAMPP)
  • XDebug
  • Moodle CVS
  • Splashscreen
  • Moodle Browser
  • Checkstyle

Readme

Student Developer: Grady Laksmono Mentor: Petr Skoda and Anthony Borrow

Workspace Environment

1. Unzip Moodle-IDE package 2. Run Moodle-IDE_<version>/eclipse/eclipse.exe 3. YOU HAVE TO USE DEFAULT WORKSPACE IN ORDER TO NOT HAVE TO SETUP VIRTUAL HOST 4. File --> New --> Other...

  Moodle --> Moodle Project

5. Browse for Moodle zip package (you can get it from: http://download.moodle.org/) for Moodle field 6. Name the project 7. Click Finish

Installing Moodle

Assuming you're using the default configuration, press the orange "X" button in the toolbar to run XAMPP (Apache, PHP, and MySQL).

!NOTE If you have previously installed Apache on your computer. You will see a red error message. The solution is to stop your previosly installed Apache before running the XAMPP through Moodle IDE.

1. Open a web browser 2. Go to http://localhost/<Project Name>/moodle/install.php 3. Install Moodle

OR

1. Right click install.php in the project 2. Select Open Moodle Browser 3. Install Moodle

=

CVS

=

1. CVS - Click the Moodle icon --> CVS Dialog Box - Drop down arrow for the Host (already pre-populated with Moodle hosts) - Drop down arrow for the Repository Path (already pre-populated with Moodle repository path) - Username, drop down arrow for annonymous, or use yours if you have one (already pr-populated with anonymous) - Password 2. Click Finish

==

XDebug

==

1. XDebug

  http://dev.phpeclipse.com/wiki/Howto/XDebugAndPHPEclipse
  php_xdebug.dll:
  Moodle-IDE_<version>\xampp\php\ext\php_xdebug.dll
  
==================================================

Checkstyle Ref: https://docs.moodle.org/en/Development:Coding#Coding_style

==================================================

1. Right click on any PHP file that you want to check 2. Select PHP Checkstyle

Screenshots