README 1.56 KB
Newer Older
Brett Bieber's avatar
Brett Bieber committed
1
How to set up UNL_Elgg:
2
Sym-link elgg/mod/unl_theme=>unl_theme
Brett Bieber's avatar
Brett Bieber committed
3
Create a database named unl_social
4
Import the full_dump.sql file*
Brett Bieber's avatar
Brett Bieber committed
5
6
7
8
9
10
	mysql -u root unl_social < stable_dump.sql
Browse to the elgg directory in your web browser.
Create the local elgg/.htaccess file using the sample on the install page
	Be sure to set the correct RewriteBase /~bbieber/UNL_Elgg/elgg/ for example.
Create the local elgg/engine/settings.php file.
	Be sure to specify unl_social as the database name
11
12
13
Create a local directory for elgg data outside of the web root.
	Change the permissions so Apache has write access to it.
	sudo chown _www elgg_data
Brett Bieber's avatar
Brett Bieber committed
14
15
16
17
Install the UNL_Templates pear packages
	pear channel-discover pear.unl.edu && pear install unl/UNL_Templates-beta
Set the correct site url within the database:
	UPDATE elggsites_entity SET url='http://localhost/~bbieber/UNL_Elgg/elgg/' WHERE guid=1;
18
19
	UPDATE elggdatalists SET value = '/Library/WebServer/Documents/workspace/UNL_Elgg/elgg/' WHERE name = 'path';
	UPDATE elggdatalists SET value = '/Library/WebServer/Documents/workspace/elgg_data/' WHERE name = 'dataroot';
20
21
Make sure the local site has an updated copy of the templatedependents

Eric Rasmussen's avatar
test    
Eric Rasmussen committed
22
 
23
24
25
26
27
28
29
30
31

*Notes on importing data:

full_dump.sql is is full copy of the mysql database that must be modified upon import.
safe_dump.sql can be imported without the need for modification

when importing full_dump.sql, you must modify certain rows in the tables elggdatalists and elggsites_entity so
that they pertain to the local elgg site instance. 	(so if you see something like 
http://ucommjuhl.unl.edu/UNL_Elgg/elgg, change it!)