We will set up a development environment with Eclipse PHP Dolibarr using the PTD plugin that gives us very useful features to develop PHP projects.
PHP Eclipse downloaded from: https://eclipse.org/pdt/#download
The features offered by the PDT can be found here: http://p2.pdt-extensions.org/index.html
After installing Eclipse we look if there are existing updates. Download on the page itself indicates that perform these steps:
In Eclipse, click Help -> Install New Software Search and make this url :: http://download.eclipse.org/tools/pdt/updates/3.6
Eclipse already brings installed the plugin to work with Git, so to import the project from Git do the following. We note the URL Dolibarr Git: https://github.com/Dolibarr/dolibarr
And we perform the following steps from Eclipse.
Help Dolibarr Wiki: https://wiki.dolibarr.org/index.php/Recuperar,_actualizar_los_fuentes_del_proyecto
We can import the project Dolibarr our eclipse from two ways. One is from File> Import ... and select Projects from Git.
This means that we have not entered the correct URL. If we are not used to working with Git surely we have entered the URL of the browser, as is usually done with SVN, but Git is different. Since the web repository, at the bottom of the next image, we see that there is a field with a HTTPS url. It will be the url you have to use to clone the project from Eclipse.
After entering the url in the previous step we will show a window where you can select the version of Dolibarr you want to import. Although we can select all, it is better to select only one to avoid problems later.
If you get a message like the one I show you, "Git clone repository failed. Read timed out after 30,000 ms."Can our network connection is not right. In my case, I repeated the process with another different internet connection and no longer gave me problems.
If everything goes smoothly, we can see that we have in our perspective repository Git branch with Dolibarr 3.8 selected.
We indicate that the import will make a new project using the wizard.
In this window, the key process is to select the option Create project at Existing location (from Existing source), To import it from the Git branch that we have downloaded. We indicate the folder selected in the previous steps where did the clone.
The result is the PHP project created we can see from the perspective of PHP. If you look, every file and folder has a yellow icon be synchronized with the repository indicating that we have done the process correctly.
Keep updated your ERP / CRM Dolibarr
- Upgrade your Dolibarr without complications or risks to the latest version.
- Keep your data safe. I perform backup before performing the process.
- all information is migrated without losing anything.
- Escríbeme y te daré presupuesto personalizado sin compromiso pulsando el siguiente botón:
Dime qué te ha parecido el artículo...
Suscríbete a mi blog y recibe cómodamente mis artículos en tu bandeja de correo.
¡No envío Spam, puedes quedarte tranquilo!