You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Flying Kiwi 8b51eea473 Revert to info logging 4 years ago
core Logging for debug 4 years ago
esiAuth Prepare for prod 4 years ago
fleetAssist First pass at removing the SDE 4 years ago
fleetData Revert to info logging 4 years ago
fleetHUD First pass at removing the SDE 4 years ago
fleetSetup Refactor database to prepare for future "Fleet Prep" application 4 years ago
logs Production env & Docker 4 years ago
static Production env & Docker 4 years ago
.dockerignore Prepare for prod 4 years ago
.gitignore Prepare for prod 4 years ago
dockerfile Prepare for prod 4 years ago
fleet-assist.nginx Prepare for prod 4 years ago
manage.py Remove top level folder 4 years ago
quick_test.sh Refactor database to prepare for future "Fleet Prep" application 4 years ago
readme.md Prepare for prod 4 years ago
requirements.txt Prepare for prod 4 years ago
start.sh Run databse update in background 4 years ago

readme.md

#Fleet Assistant

This is a tool that gives an FC an overview of his fleet. It includes statistics like:

  • Pilots locations and ships they are flying
  • Proximity kills
  • Fleet events such as: kills, deaths, gating, jumping

##Install

Fleet Assist is best installed with Docker. Here are the steps:

Host server setup

  1. Install Docker
  2. Install nginx or use a docker container
  3. Install redis or use a docker container
  4. Install postgres or use a docker conatiner
  5. Copy fleet-assist.nginx file to your nginx sites config and modify to suit your needs Note: if you used docker containers you will need to modify the config more than below and use
  6. Use certbot to get a SSL certificate

###Config The configuration is located in fleetAssist/settings.py (provided) and secret.py (example provided)

  1. Create a database in postgres and a user for that database (call them both fleet_assist)
  2. Generate a password and add a line: DB_PASSWORD = 'your secret password' in secret.py
  3. Go to eve's developer site and create an application
  4. Add these scopes esi-location.read_location.v1 esi-location.read_ship_type.v1 esi-fleets.read_fleet.v1 esi-ui.write_waypoint.v1
  5. Set the callback URL to https://[your domain name]/esi-callback
  6. In settings.py set CALLBACK_DOMAIN to [your domain name]
  7. In settings.py set EVE_CLIENT to the "Client ID" on the developer site
  8. In secret.py add a line: EVE_APP_SECRET = 'your Secret Key' and set it to the "Secret Key" provided
  9. Generate a very long random string from some place like Secure Password Generator and add a line to secret.py: KEY = 'long randomly generated key'
  10. Config postgres and redis to bind to all ports (but use a firewall!)

Docker

  1. Go to the root directory of this application and run command docker build -t "fleet-assist:your-tag-here" .
  2. To run use docker run -dit -p 8080:8080 -p 8081:8081 --restart unless-stopped fleet-assist:your-tag-here Note: if either port is used (it will fail when you try to run the above) you can change the first number (so 8080:8080) to another port, you will need to change the nginx config as well.

Troubleshooting Tips:

  • Use docker ps to see the status, there will be a two word keyword at the end which you can use for the other commands
  • Use docker exec -it [keyword] /bin/bash to access the terminal of your docker
  • Open the address range of docker through your firewall, eventhough it's on the same computer it can still be blocked