Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PlanetRed
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
PlanetRed
Commits
62f03138
Commit
62f03138
authored
15 years ago
by
Eric Rasmussen
Browse files
Options
Downloads
Patches
Plain Diff
readme update
parent
aaf4f77e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+20
-10
20 additions, 10 deletions
README
with
20 additions
and
10 deletions
README
+
20
−
10
View file @
62f03138
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment