Created
February 11, 2012 05:13
-
-
Save tchalvak/1796668 to your computer and use it in GitHub Desktop.
Install steps for SRA.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Steps | |
------------- | |
Download codeigniter (CodeIgniter_2.1.0 currently) zip, just google it. | |
Unzip codeigniter somewhere, and steal the contents of the /system/ folder within it. Copy everything in /system/*, and paste those folders into SRA's /system/ folder to form the running core of codeigniter for SRA. | |
(Only the /system/libraries/Zend folder need be retained) | |
Create Database: | |
createdb sra; | |
createlang plpgsql sra; | |
psql sra < schema/tank_auth_schema.sql | |
psql sra < schema/acls.sql | |
psql sra < schema/create.sql | |
optionally: create a dummy, insecure dev user for non-public development environments so that dummy password can be the one used in applications/config/database.php : | |
createuser -P -d -a -e dev | |
Modify configs files: | |
ln -s gitignore.dist .gitignore | |
cp htaccess.dist .htaccess | |
cp application/config/config.php.dist application/config/config.php | |
cp application/config/database.php.dist application/config/database.php | |
edit htaccess with your proper root url path | |
edit database settings in application/database.php to replace 'em with your own local settings | |
edit pathing settings in application/config.php to your local path. (pretty much just the base_url variable) | |
That should be it! Debug any issues you have, but these steps should get you most of the way there! |
Config files that may need touching:
index.php - $system_path and $application_folder
application/config/config.php - $config['base_url']
application/config/database.php - put in your database connection parameters
@splummer This install doc might should be complete-ish at this point, it got me to a working system.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Zend folder in system/libraries is the Zend ACL library, unmodified except for the base path variables.