Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:m0hamed/error-reporting-server
- Loading branch information
Showing
1 changed file
with
31 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,32 @@ | ||
phpmyadmin-error-reporting-server | ||
================================= | ||
Error Reporting Server | ||
====================== | ||
|
||
phpmyadmin server side component for the error reporting system | ||
phpmyadmin server side component for the error reporting system. It uses CakePHP v2.3 with some extra plugins like migrations, debugkit and OAuth component. | ||
|
||
# How To deploy # | ||
|
||
In order to deploy the app in this repo you need to follow these steps: | ||
- Clone this repo or extract the zip file | ||
- Add a virtual hosts entry pointing at the directory where you extracted the files in the previous step. Make sure that the installation is in the document root. The directory entry should look similar to this: | ||
``` | ||
<VirtualHost *:80> | ||
ServerAdmin webmaster@localhost | ||
ServerName reports.phpmyadmin.net | ||
DocumentRoot /path/to/repo/dir/app/webroot | ||
<Directory /path/to/repo/dir/app/webroot/> | ||
AddType application/x-httpd-php .html | ||
Options Indexes FollowSymLinks MultiViews | ||
AllowOverride All | ||
Order allow,deny | ||
allow from all | ||
</Directory> | ||
ErrorLog "/var/log/httpd/dummy-host.example.com-error_log" | ||
CustomLog "/var/log/httpd/dummy-host.example.com-access_log" common | ||
</VirtualHost> | ||
``` | ||
- Run the migrations to generate the migrations table `Console/cake Migrations.migration run all -p Migrations` | ||
- Run the migrations that have been created so far to setup the database `Console/cake Migrations.migration run all` | ||
- Rename the example files database.example.php and core.example.php to database.php and core.php respectively and fill out the required info. Make sure to change the salts and the debug level in the core.php file and the database credentials in the database.php file | ||
- Rename the oauth.example.php to oauth.php and follow the instructions to set the appropriate variables in the file |