How to create RRR from scratch » History » Version 2

Version 1 (Daniele Barchiesi, 2013-11-21 12:11 PM) → Version 2/8 (Daniele Barchiesi, 2013-11-21 12:12 PM)

h1. How to create RRR from scratch

* 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
<pre>
drush dl drupal --package-handler=git_drupalorg
</pre>
* Rename the folder with the name of your site site_name

* Create new database

* Run
<pre>
mysqladmin -u root -p create dbname
</pre>
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)

* 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