Authors
Original Author: Blake (k126space.com)
Fixes, updates and this fork: Markus (Eve char: Adrenalin Auscent)
Disclaimer
Code is provided as is.
If you want to try to setup your own instance, I would advice that you have an understanding of PHP, MySQL, and general code architecture.
Getting this to run is not a beginner project.
I cannot provide any commitment for bugs corrections, adding features, or providing support.
There are many, many non-sanitized input points that are major security issues as noted in this post. I would not use this as a public-facing site.
There are unfinished pages, hacked together solutions, code in the view, display code in the controllers, etc. Don't expect clean, production quality code.
Prerequisites
MySQL, PHP5+
phpMyAdmin or an easy way to modify tables
Known Bugs/Issues
* As eve-central.com is down there is no market price information (yet). Working on that.
Installation
-
Download the latest code from https://github.com/maxs94/prohd
-
Unzip in your Webroot in a separate directory like /industry
-
Edit protected/config/main.php.changeme Line 29 contains IP limitations for working with Gii. Enter your WAN IP address here if you want to work with this module. Line 57/58 contain your database connection information. Rename to main.php
-
Edit protected/config/console.php.changeme Line 22 contains the database name. My project was named after my holding corporation PROHD so the database name is .prohd.. Line 24/25 contain the user/password to login to the application. Rename to console.php
-
Create database structure with prohd.sql
-
Import the Eve static data tables from https://www.fuzzwork.co.uk/dump/ use latest dump: https://www.fuzzwork.co.uk/dump/mysql-latest.tar.bz2
-
Generate the following table for typeBuildReqs for Tech 2 items. for MySQL: /build_t2.sql for MS SQL Server: (http://pastebin.com/6hypXsrS)
-
Point your browser to the install location - it should come up with a page telling you that it has created a new username.
-
Refresh the page and login with username "admin" and password "password".
-
Go to "Admin" in the top menu and change the admin's account password!
-
Modify your API-Key in the Character's section: Add your Character ID (you can get it here: https://api.eveonline.com/eve/CharacterID.xml.aspx?names=YOUR_CHARACTER_NAME) Add your Character Name Add your Key ID and vCode (get it here: https://community.eveonline.com/support/api-key/) (Tick all at "Account and Market", "Public Information" and "Private Information" )
-
Done.