Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle IDE: Difference between revisions

From MoodleDocs
Line 77: Line 77:
   http://dev.phpeclipse.com/wiki/Howto/XDebugAndPHPEclipse
   http://dev.phpeclipse.com/wiki/Howto/XDebugAndPHPEclipse
   php_xdebug.dll:
   php_xdebug.dll:
   Moodle-IDE_<version>\xampp\php\ext\php_xdebug.dll
   '''''Moodle-IDE_<version>\xampp\php\ext\php_xdebug.dll'''''


==== Checkstyle ====
==== Checkstyle ====

Revision as of 20:03, 16 July 2008

Moodle IDE (1.0.3)

Features

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

Readme

Student Developer: Grady Laksmono

Mentor: Petr Skoda and Anthony Borrow

Workspace Environment

1. Run Moodle-IDE-Setup.exe

!NOTE

Default Setup configuration is needed if you don't want to bothered to change the External Tools Preferences (Window → Preferences → PHPeclipse → Moodle External Tools).

2. Run Moodle IDE.exe as Administrator (Right Click → Run as Administrator)

!NOTE Default Workspace configuration is needed if you don't want to configure Virtual Server.

3. File → New → Other..., then Moodle → Moodle Project

4. Browse for Moodle zip package (you can get it from: http://download.moodle.org/) for Moodle field

5. Name the project

6. Click Finish

Installing Moodle

Press the orange "X with little black S" button to setup XAMPP in the current environment once. Then press "X" button in the toolbar to run XAMPP (Apache, PHP, and MySQL).

!NOTE

If you have previously installed Apache on your computer, and have it running, then you will see red error messages when you're trying to run XAMPP. The solution is to stop your previously installed Apache through Control Panel → Administration → Sevices, find Apache that is currently running, Right Click, select Stop, then run XAMPP through Moodle IDE.


1. Right click install.php in the project

2. Select Open Moodle Browser

3. Install Moodle

OR

1. Open a web browser

2. Go to http://localhost/<Project Name>/moodle/install.php

3. Install Moodle

CVS

1. Click the Moodle icon → CVS Dialog Box'

2. Drop down arrow for the Host (already pre-populated with Moodle hosts)

3. Drop down arrow for the Repository Path (already pre-populated with Moodle repository path)

4. Username, drop down arrow for annonymous, or use yours if you have one (already pr-populated with anonymous)

5. Password

6. 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

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

2. Select PHP Checkstyle

Reference

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

Screenshots