MySQL, PHP, Tomcat, Python
- Create mysql schema
- Apply
schema.sql
- Configure connection via
DATABASE*
settings inBraveIntelServer/src/main/java/de/schoar/braveintelserver/C.java
and$cfg_sql_*
settings inwebroot.php
(after copying fromconfig.php.dist
)
Build these data files manually and place them in the correct directories.
-
Filter settings
-
cd data/brave-intel-server/filter
-
Adapt files as needed
-
Map generation
-
cd data/map-generation
-
./dotlan-download.sh
-
./dotlan-convert.sh
-
cp dotlan/*.svg.json ../brave-intel-server/maps
-
Jumpbridge generation
-
cd data/jb-generation
-
Edit
jb_friendly.txt
andjb_hostile.txt
-
./jb-json.py
-
cp jb.svg.json ../brave-intel-server/maps
-
Deployment
-
Make
data/brave-intel-server
readable to the tomcat process -
Configure
DATA_DIR
inBraveIntelServer/src/main/java/de/schoar/braveintelserver/C.java
to point to this directory.
-
Settings
-
Edit
BraveIntelServer/src/de/schoar/braveintelserver/C.java
- Update mysql connection settings -DATABASE*
variables - Update location of brave-intel-server data directory -DATA_DIR
variable -
Deploy
-
cd BraveIntelServer
-
mvn clean package
-
Copy
target/EveIntelServer.war
into tomcat webapps folder
-
Config
-
Copy
config.php.dist
toconfig.php
-
Edit
config.php
- Update mysql connection settings -$cfg_sql_*
- Update alliance/coalition specific display settings, add custom graphics logo - Choose authorization scheme, then do one of ...- Update brave core tokens
- Update eve SSO tokens
-
Customize default region by setting
map
inwebroot/js/intel_map_draw.js
-
Customize region list in
webroot/tpl/tpl_nav_map.php
(duplicate most relevant regions at top of list) -
Auth
- If using brave core authorization.
cd webroot/auth && composer install
- If using alliance SSO, you may need to do these steps when your alliance membership changes or setup a periodic cron job
cd data/alliance-generation
- edit
evewho.py
and setallianceId
to your alliance id, an easy way to find it is from the URL of your alliance's zkillboard page - i.e. https://zkillboard.com/alliance/1042504553/ ./evewho.py
- Copy this file to the location specified by
$cfg_alliance_file
inconfig.php
so the frontend can use it.cp alliance_characters.txt ../../webroot/auth/
See the unbranded fork of the Brave Intel Reporter at https://github.com/IslayTzash/EveIntelReporter