- Base Drupal 7 requirements
- PHP 5.3+
- Drush
- Git
The following instructions assume that you clone this profile into a directory 'above' your web server root. The web server root directory in these examples is www.
Installing the profile involved 4 steps.
- Clone the profile.
- Build the profile into your web root.
- Create a database for your site to connect to.
- Navigate to your site in your web browser to complete the install process.
For the example commands below, 'www' represents the complete path to your site's desired webroot.
Clone the repo:
git clone --branch 7.x-1.x [email protected]:lter/deims.git
Build the site into your webroot:
cd deims
drush make build-deims.make '/path/to/your-site/www' --prepare-install --contrib-destination=profiles/deims
At this point, it is advisable you visit your installed DEIMS profile using the browser to complete the install. There are some configuration steps that are best deal with when using the UI wizard (as oppossed to drush si deims
)
git pull
cd www
drush make ../build-deims.make
drush si deims
Updates of Drupal Profiles often follow a different timeline and workflow than your typical Drupal Site. In our case, the DEIMS Profile Drupal has a few enhancements that are lost if updated without care to carry these enhacements. We advise to wait for a new release of DEIMS before updating on your own - but if you do, make sure the enhancements are ported, otherwise you may experience issues after the update.
Note: updating an existing site from the profile is not yet supported. You must rebuild the site not using an existing database install. The following may work only on specific updates - best to wait for a bundle or Read advisories and guidelines per update.
git pull
cd www
drush make ../build-deims.make
drush updatedb