How to create RRR from scratch » History » Version 2

« Previous - Version 2/8 (diff) - Next » - Current version
Daniele Barchiesi, 2013-11-21 12:12 PM


How to create RRR from scratch

  • 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)
  • 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