How to create RRR from scratch » History » Version 4
« Previous -
Version 4/8
(diff) -
Next » -
Current version
Daniele Barchiesi, 2013-12-02 04:15 PM
How to create RRR from scratch¶
Setup local Drupal website environment¶
- Install XAMMP - web stack including database and web server apache
- Download relevant version from http://www.apachefriends.org/en/xampp-macosx.html#849
- Run the installer
- Open XAMPP manager application and start all the servers (MySQL, Apache and ProFTPD)
- Install drush - command line utility to manage Drupal websites
- Install git - command line utility to manage version control
- Install drupal and use git to track its repository
- Navigate to your XAMMP/htdocs/ folder
- Run
drush dl drupal --package-handler=git_drupalorg
- Rename the folder with the name of your site site_name
- Create new database
- Run
mysqladmin -u root -p create dbname
where dbname is the name of the database and root is the user
- set privileges following instructions in the INSTALL.dbtype file in the Drupal folder (where dbtype is the kind of database used - e.g. MySQL)
- Run
- Create new site
- Point a browser to localhost/site_name
- Follow the installation instructions
At this point, you have a clean drupal website that can be accessed locally at http://localhost/site_name
Setup remote Drupal website environment.
These instructions are very similar to the above, with the exception that instead of hosting the website on a local machine, it will be hosted on a remote server.
* ssh to the remote server
* Install drush - command line utility to manage Drupal websites
* Install git - command line utility to manage version control
* Install drupal and use git to track its repository
- Navigate to your /var/www folder
* Run
drush dl drupal
* Rename the folder with the name of your site site_name
- Create new database
- Run
mysqladmin -u root -p create dbname
where dbname is the name of the database and root is the user
- set privileges following instructions in the INSTALL.dbtype file in the Drupal folder (where dbtype is the kind of database used - e.g. MySQL)
- Run
- Create new site
- Point a browser to hostname/site_name
- Follow the installation instructions
At this point, you have a clean drupal website that can be accessed locally at http://hostname/site_name
Obtain RRR modules and settings
- Clone the RR repository to a folder of your choice by running the command
hg clone https://code.soundsoftware.ac.uk/hg/rr-repo
- Copy the features module rr-repo/sites/all/modules/experiments_list to the modules folder of your website XAMPP/htdocs/site_name/sites/all/modules
- Enable modules by running
drush pm-enable experiments_list
hg clone https://code.soundsoftware.ac.uk/hg/rr-repo
drush pm-enable experiments_list