DataPortalDeveloperEnvironmentSetupLinux » History » Revision 7
« Previous |
Revision 7/91
(diff)
| Next »
Patrick Plitzner, 04/14/2014 03:37 PM
Local dataportal development and test environment on Debian based Linux¶
Requires installed: mysql, apache2, php5-gd, php5-common:
sudo apt-get install php5 libapache2-mod-php5 php5-cli php5-common php5-curl php5-gd php5-mcrypt php5-mysql php5-suhosin php5-xdebug php5-json
NOTE: php5-suhosin may not be needed/available anymore. Does not matter
get latest drupal from http://cybertaxonomy.eu/download/dataportal/stable/ (drupal7-cdm_dataportal-x.x.x.tar.gz)
extract to
/var/www
NOTE: It would be better to install it in sub folder of ~/@, e.g. @~/workspaces/www/drupal7-cdm_dataportal@, this however would involve that you modify the @/etc/apache2/sites-available/default
accordingly.
Go to
/var/www/drupal/sites/all
delete
/themes
insert symlink to checked out themes from svn (http://dev.e-taxonomy.eu/svn/trunk/drupal/7.x/themes/)
sudo ln -s /path/to/svn/drupal/7.x/themes/ themes
delete
/modules/cdm_dataportal
insert symlink to checked out cdm_dataportal modules from svn (http://dev.e-taxonomy.eu/svn/trunk/drupal/7.x/modules)
sudo ln -s /path/to/svn/drupal/7.x/modules/cdm_dataportal/ modules/cdm_dataportal
Go to
/var/www/drupal/profiles
delete
/CDM_DataPortal
andCDM_DataPortal_Testing
insert symlink to checked out profiles from svn (http://dev.e-taxonomy.eu/svn/trunk/drupal/7.x/modules/cdm_dataportal/profile/)
sudo ln -s /path/to/svn/drupal/7.x/modules/cdm_dataportal/profile/CDM_Portal/ CDM_Portal sudo ln -s /path/to/svn/drupal/7.x/modules/cdm_dataportal/profile/CDM_Portal_Testing/ CDM_Portal_Testing
- change ownership of drupal folder to www-data
sudo chown -R www-data:www-data /var/www/drupal/. <-- not sure what ownership is necessary but this works
- Create database as root:
newSite
if you're not logged in to mysql as root then also:
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON newSite.* TO 'username'@'localhost';
- got to localhost/drupal/install.php
Setup of the PDT project in eclipse¶
[!drupal-project-includespng!|!drupal7-core-buildpath.png!]
PDT launch configuration for Drupal projects¶
[!d7-pdt-launcher-1png!|!d7-pdt-launcher-2.png!]
Updated by Patrick Plitzner about 10 years ago · 7 revisions