To make development and testing easier, we have demo sites tha showcases all the features of our products.
1. Download Drupal 7 with Drush:
$ drush dl --default-major=7 drupal
2. Install the demo on your local machine
The steps are basically the same as installing Drupal 7 core. Please avoid developing on a Windows machine, as it will be very slow.
Alternatively you can also use Drush to do a fully automatic installation:
$ drush dl --default-major=7 drupal $ mv drupal-7.72 d7lidxpr $ cd d7lidxpr $ mysql -u root -p -e"create database d7lidxpr;" $ drush site-install --db-url=mysql://root:password@localhost:3306/d7lidxpr --account-pass=admin -y -v
3. Link the demo site to local Git repositories
If you have a local clone of the git repositories for our products, now you can link those folders to your test website. By linking the site to your repos you can use the demo site to test different versions and branches. Example steps for linking DXPR Builder:
- Open a terminal window
cd into your Drupal installation
$ cd /var/www/drush site-install --db-url=mysql://jjroelofs@localhost:3306/d7lidxpr --account-pass=admin -y -v $ drush dis overlay -y
Install DXPR Builder:
$ cd sites/all/modules $ mkdir contrib $ cd contrib
Link to your local repository.
$ ln -s ~/myprojects/dxpr/7.x/dxpr_builder
In one command, download DXPR Builder's dependencies and example content types, and install them:
$ drush en dxpr_builder dxpr_builder_page dxpr_builder_block -y
Install DXPR Theme and it's dependencies "Bootstrap basetheme" and "DXPR Theme helper":
$ cd sites/all/themes $ mkdir contrib $ cd contrib $ ln -s ~/myprojects/dxpr/7.x/dxpr_theme $ drush dl bootstrap $ cd ../../modules/contrib $ ln -s ~/myprojects/dxpr/7.x/dxpr_theme_helper $ drush en dxpr_theme_helper
- Browse to your web directory (for example http://localhost/d7lidxpr/ ) and log in to the Drupal site with admin:admin
- Go to admin/appearance
- Scroll down and click the "Enable and set default" link for DXPR Theme
- Check out this video tutorial from 1:35 to learn how to set up DXPR Builder with a content type.