Development:Moodle IDE: Difference between revisions

From MoodleDocs
Line 3: Line 3:


'''''Mentor:''''' Petr Skoda and Anthony Borrow
'''''Mentor:''''' Petr Skoda and Anthony Borrow
* Community feedback [http://moodle.org/mod/forum/discuss.php?d=100253 forum discussion]
* Community feedback [http://moodle.org/mod/forum/discuss.php?d=101493 forum discussion]
'''Features'''
'''Features'''
* Create a Moodle project
* Create a Moodle project

Revision as of 07:37, 17 July 2008

Moodle IDE (1.0.3)

Student Developer: Grady Laksmono

Mentor: Petr Skoda and Anthony Borrow

Features

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

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

http://dev.phpeclipse.com/wiki/Howto/XDebugAndPHPEclipse

php_xdebug.dll:

Moodle IDE\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