Skip to content
Snippets Groups Projects
Commit 62f03138 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

readme update

parent aaf4f77e
No related branches found
No related tags found
No related merge requests found
......@@ -3,24 +3,34 @@
********
Run the setup.sh script to symlink all the necessary plugins
./setup.sh
Create a database named unl_social
Create a mysql database named unl_social
Import the full_dump.sql file*
mysql -u root unl_social < full_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
Browse to the elgg directory in your web browser and do elgg's installation:
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
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
Install the UNL_Templates pear packages
pear channel-discover pear.unl.edu && pear install unl/UNL_Templates-beta unl/UNL_Services_Peoplefinder-beta DB
Set the correct site url within the database:
Install pear http://pear.php.net/manual/en/installation.getting.php
Install the UNL_Templates pear packages
pear channel-discover pear.unl.edu && pear install unl/UNL_Templates-beta unl/UNL_Services_Peoplefinder-beta DB
Set the correct site url within the unl_social database:
UPDATE elggsites_entity SET url='http://localhost/workspace/UNL_Elgg/elgg/' WHERE guid=1;
UPDATE elggdatalists SET value = '/Users/smeranda/Documents/workspace/UNL_Elgg/elgg/' WHERE name = 'path';
UPDATE elggdatalists SET value = '/Users/smeranda/Documents/workspace/elgg_data/' WHERE name = 'dataroot';
Make sure the local site has an updated copy of the templatedependents
Make sure the local site has an updated copy of the unl templatedependents
******
** Troubleshooting
******
After navigating to the elgg dir in your browser and filling in the correct database info -
if you get the error that elgg can't connect to your database do this:
1. find your php.ini file, probably located at /etc/php.ini.default and rename it to php.ini
2. edit the mysql.default_socket line to include the path to your mysql.sock file, e.g.
mysql.default_socket = /private/tmp/mysql.sock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment