Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

Latest commit

 

History

History
43 lines (37 loc) · 1.86 KB

README.md

File metadata and controls

43 lines (37 loc) · 1.86 KB

Docker Build

Dockerfile for running Pathfinder, the mapping tool for EVE Online.

❤️ Added Websocket server support.

Installation

  1. Clone docker-compose.yml file
sudo wget https://raw.githubusercontent.com/KryptedGaming/pathfinder-docker/master/docker-compose.yml
  1. Clone the example .env file
sudo wget https://raw.githubusercontent.com/KryptedGaming/pathfinder-docker/master/.env
  1. Fill out the .env file and start up your instance
sudo docker-compose up -d

You may need to create the databases for your MYSQL image if using a fresh compose.

  • sudo docker-compose exec db /bin/bash
  • mysql -uroot -p
  • CREATE DATABASE pathfinder;
  • CREATE DATABASE eve_universe;

Setup

  1. Navigate to your Pathfinder page, go through setup.
  2. Create the databases using the database controls in the setup page.
  3. Import static database.
  4. Import from ESI at the Cronjob section of the setup page.
  5. Build Systems data index under Build search index in the Administration section of the setup page.
  6. Restart your container with SETUP=False.
  7. You're live!

Importing static database

  1. sudo wget https://github.com/exodus4d/pathfinder/raw/master/export/sql/eve_universe.sql.zip
  2. sudo unzip eve_universe.sql.zip
  3. sudo docker cp eve_universe.sql "$(sudo docker-compose ps | grep db | awk '{ print $1}'):/eve_universe.sql"
  4. sudo docker-compose exec db sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD" eve_universe < /eve_universe.sql'
  5. Optional sudo rm eve_universe.sql*
  6. Complete Setup.

Feel free to contribute, there are many improvements that still need to be made.