How to create RRR from scratch » History » Version 2
Daniele Barchiesi, 2013-11-21 12:12 PM
1 | 1 | Daniele Barchiesi | h1. How to create RRR from scratch |
---|---|---|---|
2 | 1 | Daniele Barchiesi | |
3 | 1 | Daniele Barchiesi | |
4 | 1 | Daniele Barchiesi | * Install XAMMP - web stack including database and web server apache |
5 | 1 | Daniele Barchiesi | |
6 | 1 | Daniele Barchiesi | * Download relevant version from http://www.apachefriends.org/en/xampp-macosx.html#849 |
7 | 1 | Daniele Barchiesi | * Run the installer |
8 | 1 | Daniele Barchiesi | * Open XAMPP manager application and start all the servers (MySQL, Apache and ProFTPD) |
9 | 1 | Daniele Barchiesi | |
10 | 1 | Daniele Barchiesi | * Install drush - command line utility to manage Drupal websites |
11 | 1 | Daniele Barchiesi | * Install git - command line utility to manage version control |
12 | 1 | Daniele Barchiesi | * Install drupal and use git to track its repository |
13 | 1 | Daniele Barchiesi | |
14 | 1 | Daniele Barchiesi | * Navigate to your XAMMP/htdocs/ folder |
15 | 1 | Daniele Barchiesi | * Run |
16 | 1 | Daniele Barchiesi | <pre> |
17 | 1 | Daniele Barchiesi | drush dl drupal --package-handler=git_drupalorg |
18 | 1 | Daniele Barchiesi | </pre> |
19 | 1 | Daniele Barchiesi | * Rename the folder with the name of your site site_name |
20 | 1 | Daniele Barchiesi | |
21 | 1 | Daniele Barchiesi | * Create new database |
22 | 1 | Daniele Barchiesi | |
23 | 1 | Daniele Barchiesi | * Run |
24 | 1 | Daniele Barchiesi | <pre> |
25 | 1 | Daniele Barchiesi | mysqladmin -u root -p create dbname |
26 | 1 | Daniele Barchiesi | </pre> |
27 | 1 | Daniele Barchiesi | where dbname is the name of the database and root is the user |
28 | 1 | Daniele Barchiesi | |
29 | 2 | Daniele Barchiesi | * set privileges following instructions in the INSTALL.dbtype file in the Drupal folder (where dbtype is the kind of database used - e.g. MySQL) |
30 | 1 | Daniele Barchiesi | |
31 | 1 | Daniele Barchiesi | * Create new site |
32 | 1 | Daniele Barchiesi | |
33 | 1 | Daniele Barchiesi | * Point a browser to localhost/site_name |
34 | 1 | Daniele Barchiesi | * Follow the installation instructions |
35 | 1 | Daniele Barchiesi | At this point, you have a clean drupal website that can be accessed locally at http://localhost/site_name |