Insert padding for global_menuoptions <li>
[elgg.git] / QUICKINSTALL
blobace049183f693d535d2539c6111b2b30a130394d
1 Quick Elgg 0.6 install file\r
2 by Bill Fitzgerald\r
3 ---------------------------\r
4 \r
5 1. Create a database.\r
6 \r
7 2. Create a user on the database with all privileges (are all privileges\r
8 necessary?):\r
9 \r
10    GRANT ALL PRIVILEGES ON dbname.* TO dbuser@localhost IDENTIFIED BY\r
11 'dbpass';\r
13 3. Write down the database name (created in step 1) and the database\r
14 user (created in step 2) and the password for the database user (dbpass,\r
15 created in step 2).\r
17 4. Create a directory outside the "public_html" directory -- this\r
18 directory can be named whatever you want.\r
20 5. Open config-dist.php (found in the root directory of the Elgg\r
21 directory structure). Rename this file config.php.\r
23 6. In config.php, edit the following values to get started. The\r
24 config.php file also contains good instructions:\r
26    $CFG->sitename = ''; // The sitename can be anything\r
28    $CFG->wwwroot = 'http://elgg.foo.org/'; // the address you put in\r
29    the browser to access the Elgg site\r
31    $CFG->dirroot = '/home/user/public_html/elgg/'; // a critical value\r
32    -- make sure to use the correct path, make sure to end with a\r
33    trailing slash\r
35    $CFG->sysadminemail = 'bar@foo.org'; // If you're setting the site\r
36    up, this is probably your email address\r
38    $CFG->defaultlocale = 'en_GB'; // If the site will run in English,\r
39    leave unchanged\r
41    $CFG->publicreg = true; // see instructions in config.php\r
43    $CFG->default_access = "LOGGED_IN"; // see instructions in config.php\r
45    $CFG->dataroot = '/home/user/elggdata/'; // this is the directory\r
46    created in step 4, above -- a critical value -- make sure to use the\r
47    correct path, make sure to end with a trailing slash --\r
50    $CFG->dbtype = 'mysql'; // for now\r
51    $CFG->dbhost = 'localhost';\r
52    $CFG->dbuser = ''; // set in step 2, above\r
53    $CFG->dbpass = ''; // set in step 2, above\r
54    $CFG->dbname = ''; // name of database created in step 1\r
55    $CFG->dbpersist = false;\r
56    $CFG->prefix = 'elgg';\r
59 7. Navigate to the url of the site. The database tables will be created,\r
60 and you should see a long line of messages indicating success. At the\r
61 bottom of the page, you will see a "Continue" button -- click it.\r
63 8. This will bring you the Elgg home screen. The main site admin is\r
64 already created: Username "News"; password "password". Log in as this\r
65 user and change the password to something more secure. Welcome to your\r
66 Elgg site.