Skip to content

Latest commit

 

History

History
82 lines (61 loc) · 2.64 KB

INSTALL.md

File metadata and controls

82 lines (61 loc) · 2.64 KB

Requirements

MySQL, PHP, Tomcat, Python

Database

  1. Create mysql schema
  2. Apply schema.sql
  3. Configure connection via DATABASE* settings in BraveIntelServer/src/main/java/de/schoar/braveintelserver/C.java and $cfg_sql_* settings in webroot.php (after copying from config.php.dist)

Data

Build these data files manually and place them in the correct directories.

  1. Filter settings

  2. cd data/brave-intel-server/filter

  3. Adapt files as needed

  4. Map generation

  5. cd data/map-generation

  6. ./dotlan-download.sh

  7. ./dotlan-convert.sh

  8. cp dotlan/*.svg.json ../brave-intel-server/maps

  9. Jumpbridge generation

  10. cd data/jb-generation

  11. Edit jb_friendly.txt and jb_hostile.txt

  12. ./jb-json.py

  13. cp jb.svg.json ../brave-intel-server/maps

  14. Deployment

  15. Make data/brave-intel-server readable to the tomcat process

  16. Configure DATA_DIR in BraveIntelServer/src/main/java/de/schoar/braveintelserver/C.java to point to this directory.

Backend

  1. Settings

  2. 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

  3. Deploy

  4. cd BraveIntelServer

  5. mvn clean package

  6. Copy target/EveIntelServer.war into tomcat webapps folder

Frontend

  1. Config

  2. Copy config.php.dist to config.php

  3. 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
  4. Customize default region by setting map in webroot/js/intel_map_draw.js

  5. Customize region list in webroot/tpl/tpl_nav_map.php (duplicate most relevant regions at top of list)

  6. 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 set allianceId 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 in config.php so the frontend can use it.
      • cp alliance_characters.txt ../../webroot/auth/

Uploader

See the unbranded fork of the Brave Intel Reporter at https://github.com/IslayTzash/EveIntelReporter