README 1.14 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
4
5
6
7
8
9
10
Create a database named unl_social
Import the stable_dump.sql file
	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';
Brett Bieber's avatar
Brett Bieber committed
20
Make sure the local site has an updated copy of the templatedependents