Setting up your workstation for Joomla development: Difference between revisions
From Joomla! Documentation
Marked this version for translation |
URL, markup and capitalization corrections. |
||
| Line 1: | Line 1: | ||
<noinclude><languages /></noinclude> | <noinclude><languages /></noinclude> | ||
<translate><!--T:1--> This page is centered around developing on and with Joomla. If you find yourself stuck following any of these tutorials please visit [[jforum:429|our installation forums]] for more information.</translate> | <translate><!--T:1--> This page is centered around developing on and with Joomla. If you find yourself stuck following any of these tutorials, please visit [[jforum:429|our installation forums]] for more information.</translate> | ||
<translate>== Installing a | <translate>== Installing a Web Server == <!--T:2--></translate> | ||
<translate><!--T:3--> Installing a typical web server environment is | <translate><!--T:3--> Installing a typical web server environment is easy with [[wikipedia:List_of_AMP_packages|AMP packages]] (Apache, MySQL, PHP).</translate> | ||
* <translate><!--T:4--> | * <translate><!--T:4--> [https://www.apachefriends.org/ XAMPP] at Apache Friends (Multiple operating systems)</translate> | ||
** <translate><!--T:5--> [[XAMPP]] (for Joomla 1.5 and 2.5 please view [[J2.5:XAMPP|XAMPP for Joomla 2.5]])</translate> | ** <translate><!--T:5--> [[XAMPP]] (for Joomla 1.5 and 2.5 please view [[J2.5:XAMPP|XAMPP for Joomla 2.5]])</translate> | ||
* <translate><!--T:6--> | * <translate><!--T:6--> [[wikipedia:LAMP (software bundle)|LAMP]] (Linux)</translate> | ||
**<translate><!--T:7--> [[Configuring a LAMPP server for PHP development]]</translate> | **<translate><!--T:7--> [[Configuring a LAMPP server for PHP development]]</translate> | ||
* <translate><!--T:8--> | * <translate><!--T:8--> [[wikipedia:WAMP|WAMP]] (Windows) A good choice for a local server environment for Windows is [https://www.wampserver.com/en/ WampServer].</translate> | ||
* <translate><!--T:9--> | * <translate><!--T:9--> [[wikipedia: MAMP|MAMP]] (Macintosh / OS X) [https://www.mamp.info/en/windows/ MAMP] may be a good choice.</translate> | ||
* <translate><!--T:41--> [https://bitnami.com/stack/joomla Bitnami] also | * <translate><!--T:41--> [https://bitnami.com/stack/joomla Bitnami] also offers a Joomla stack that you can install locally or on a remote server.</translate> | ||
<translate><!--T:10--> If you want use XDebug for | <translate><!--T:10--> If you want use XDebug for debugging, you'll need to tune PHP settings</translate> | ||
* <translate><!--T:11--> [[Edit PHP.INI File for XDebug]]</translate> | * <translate><!--T:11--> [[Edit PHP.INI File for XDebug]]</translate> | ||
<translate>== Installing an IDE / Editor (and | <translate>== Installing an IDE/Editor (and Debugging)== <!--T:12--></translate> | ||
* <translate><!--T:42--> [[wikipedia:Visual_Studio_Code|Visual Studio Code]]</translate> | * <translate><!--T:42--> [[wikipedia:Visual_Studio_Code|Visual Studio Code]]</translate> | ||
** <translate> <!--T:43--> [[Visual_Studio_Code|Configuring Visual Studio Code for | ** <translate> <!--T:43--> [[Visual_Studio_Code|Configuring Visual Studio Code for Joomla development]]</translate> | ||
*<translate><!--T:25--> PhpStorm IDE</translate> | *<translate><!--T:25--> PhpStorm IDE</translate> | ||
**<translate><!--T:26--> [https://www.jetbrains.com/help/phpstorm/joomla-specific-coding-assistance.html Joomla! Development with PhpStorm] </translate> | **<translate><!--T:26--> [https://www.jetbrains.com/help/phpstorm/joomla-specific-coding-assistance.html Joomla! Development with PhpStorm] </translate> | ||
| Line 23: | Line 23: | ||
** <translate><!--T:15--> [[How to configure Eclipse IDE for PHP development]]</translate> | ** <translate><!--T:15--> [[How to configure Eclipse IDE for PHP development]]</translate> | ||
** <translate><!--T:16--> [[Configuring Eclipse IDE for PHP development]]</translate> | ** <translate><!--T:16--> [[Configuring Eclipse IDE for PHP development]]</translate> | ||
** <translate><!--T:17--> [ | ** <translate><!--T:17--> [https://community.joomla.org/blogs/community/webinar-using-eclipse-for-joomla-development.html Using Eclipse for Joomla! Development] Video webinar demonstrating overview of Eclipse features for Joomla! development</translate> | ||
* <translate><!--T:18--> [[wikipedia:ActiveState_Komodo|Komodo Edit]]</translate> | * <translate><!--T:18--> [[wikipedia:ActiveState_Komodo|Komodo Edit]]</translate> | ||
** <translate><!--T:19--> [[Configuring Komodo Edit for Joomla Code Completion]]</translate> | ** <translate><!--T:19--> [[Configuring Komodo Edit for Joomla Code Completion]]</translate> | ||
* <translate><!--T:20--> [[wikipedia:NetBeans|NetBeans]]</translate> | * <translate><!--T:20--> [[wikipedia:NetBeans|NetBeans]]</translate> | ||
* <translate><!--T:22--> UltraEdit, Notepad++, ...</translate> | * <translate><!--T:22--> UltraEdit, Notepad++, ...</translate> | ||
*<translate><!--T:23--> Sublime Text 2 Editor</translate> | *<translate><!--T:23--> Sublime Text 2 Editor</translate> | ||
**<translate><!--T:24--> [https://tutsplus.com/ | **<translate><!--T:24--> [https://code.tutsplus.com/courses/perfect-workflow-in-sublime-text-2 Perfect Workflow in Sublime Text 2 tutorial]</translate> | ||
<translate>=== Debugging | <translate>=== Debugging Specifics === <!--T:27--></translate> | ||
* <translate><!--T:28--> [[Running Automated Tests for the Joomla CMS]]</translate> | * <translate><!--T:28--> [[Running Automated Tests for the Joomla CMS]]</translate> | ||
* <translate><!--T:29--> [[How to debug your code]]</translate> | * <translate><!--T:29--> [[How to debug your code]]</translate> | ||
<translate>== Using Git == <!--T:30--></translate> | <translate>== Using Git == <!--T:30--></translate> | ||
<translate><!--T:31--> The CMS project uses the Git version control system and the CMS repository is stored on | <translate><!--T:31--> The CMS project uses the Git version control system and the CMS repository is stored on [https://github.com/joomla/joomla-cms GitHub]. Bugs are fixed in the master branch of this repository, and normally there are bug fixes and changes in the master branch that are more recent than the latest released Joomla version. For this reason, when we test and code bug fixes, we normally use the latest code from the master branch on GitHub, not the latest released version. Therefore, Bug Squad testers and coders need to understand how to use Git and the GitHub repository.</translate> | ||
* <translate><!--T:32--> For testing and tracking changes, please refer to [[Git for Testers and Trackers]].</translate> | * <translate><!--T:32--> For testing and tracking changes, please refer to [[Git for Testers and Trackers]].</translate> | ||
* <translate><!--T:33--> For creating your first code change (called a Pull Request) | * <translate><!--T:33--> For creating your first code change (called a Pull Request), see [[Working with git and github/My first pull request]]</translate> | ||
* <translate><!--T:34--> For working with | * <translate><!--T:34--> For working with Git, please see [[Git for Coders]].</translate> | ||
<translate>== Related == <!--T:35--></translate> | <translate>== Related == <!--T:35--></translate> | ||
| Line 49: | Line 48: | ||
* [[J4.x:Setting_Up_Your_Local_Environment|<translate><!--T:39--> Setting up your local environment for Joomla 4]]</translate> | * [[J4.x:Setting_Up_Your_Local_Environment|<translate><!--T:39--> Setting up your local environment for Joomla 4]]</translate> | ||
<translate><!--T:40--> Help is appreciated finding related pages and making these pages less redundant.</translate> | <translate><!--T:40--> Help is appreciated finding related pages and making these pages less redundant.</translate> | ||
<noinclude> | <noinclude> | ||
Revision as of 22:33, 26 November 2022
This page is centered around developing on and with Joomla. If you find yourself stuck following any of these tutorials, please visit our installation forums for more information.
Installing a Web Server
Installing a typical web server environment is easy with AMP packages (Apache, MySQL, PHP).
- XAMPP at Apache Friends (Multiple operating systems)
- XAMPP (for Joomla 1.5 and 2.5 please view XAMPP for Joomla 2.5)
- LAMP (Linux)
- WAMP (Windows) A good choice for a local server environment for Windows is WampServer.
- MAMP (Macintosh / OS X) MAMP may be a good choice.
- Bitnami also offers a Joomla stack that you can install locally or on a remote server.
If you want use XDebug for debugging, you'll need to tune PHP settings
Installing an IDE/Editor (and Debugging)
- Visual Studio Code
- PhpStorm IDE
- Eclipse IDE
- Configuring Eclipse for joomla development
- How to configure Eclipse IDE for PHP development
- Configuring Eclipse IDE for PHP development
- Using Eclipse for Joomla! Development Video webinar demonstrating overview of Eclipse features for Joomla! development
- Komodo Edit
- NetBeans
- UltraEdit, Notepad++, ...
- Sublime Text 2 Editor
Debugging Specifics
Using Git
The CMS project uses the Git version control system and the CMS repository is stored on GitHub. Bugs are fixed in the master branch of this repository, and normally there are bug fixes and changes in the master branch that are more recent than the latest released Joomla version. For this reason, when we test and code bug fixes, we normally use the latest code from the master branch on GitHub, not the latest released version. Therefore, Bug Squad testers and coders need to understand how to use Git and the GitHub repository.
- For testing and tracking changes, please refer to Git for Testers and Trackers.
- For creating your first code change (called a Pull Request), see Working with git and github/My first pull request
- For working with Git, please see Git for Coders.
Related
- Setting up your workstation for PHP development
- Joomla Issue shortcut
- Browser Shortcut Issue Tracker
- Setting up your local environment for Joomla 4
Help is appreciated finding related pages and making these pages less redundant.