Skip to main content

Installation

Built with​

WHMapper is written in C# with ASP.NET Core Blazor Server, EF Core and SignalR, and uses these components:

Requirements​

Domain​

We recommend using a domain name (your.domain.com) with public DNS for easy and consistent access.

Register your app with CCP​

WHMapper logs pilots in with CCP's SSO and reads their location through the ESI API. Register an application at developers.eveonline.com:

  1. Click the "MANAGE APPLICATIONS" button.
  2. Click the "CREATE NEW APPLICATION" button.
  3. Choose a name for your installation (e.g., prod eve-whmapper).
  4. Enter a description for this installation (e.g., WHMapper production).
  5. Change "CONNECTION TYPE" to "Authentication & API Access".
  6. Add the minimum required "PERMISSIONS" (scopes):
    • esi-location.read_location.v1
    • esi-location.read_ship_type.v1
    • esi-ui.open_window.v1
    • esi-ui.write_waypoint.v1
    • esi-search.search_structures.v1
  7. Set your "CALLBACK URL" (e.g., https://your.domain.com/sso/callback).
  8. Click the "CREATE APPLICATION" button.
  9. Copy the Client ID, Secret Key, and Callback URL for use in the next configuration step.

Installation​

Install WHMapper with Docker (recommended), or directly on Linux or Windows with the pre-built binaries.

Deploy with Docker & Compose

The Docker install runs WHMapper, PostgreSQL, Redis and an HTTPS reverse proxy with Docker Compose. An init script asks for your settings and prepares everything.

Server​

We recommend using a Linux server with the Debian OS for optimal performance and support. If you prefer to use a different operating system, you will need to write your own init script or manually configure the necessary files (see the list below).

Docker​

Install Docker with Compose first:

Get the Compose files​

  1. Navigate to your desired installation location.
  2. Clone the WHMapper repository (we recommend /opt/ on Linux).
Linux
sudo git clone https://github.com/pfh59/eve-whmapper.git
cd eve-whmapper/deploy/docker
Windows
git clone https://github.com/pfh59/eve-whmapper.git
cd eve-whmapper/deploy/docker

Configuration​

Run the init script (as root on Linux, as Administrator on Windows) and answer its questions:

Linux
sudo ./init.sh
Windows
./init.ps1

The script:

  • writes your answers into docker-compose.yml, haproxy.cfg and nginx.conf;
  • creates the Docker containers;
  • gets a certificate for your domain, so WHMapper is served over HTTPS.

Start and stop​

To manage the Docker containers, use the provided scripts:

Linux
  • To Start all containers: Use the start.sh script as a sudo or root user.
sudo ./start.sh
  • To Stop all containers: Use the stop.sh script as a sudo or root user.
sudo ./stop.sh
Windows
  • To Start all containers: Use the start.ps1 script as an Administrator.
./start.ps1
  • To Stop all containers: Use the stop.ps1 script as an Administrator.
./stop.ps1

Need help?​

Ask on the GitHub repository or on the EVE Online forum thread.


Next step → First Start