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

Build it yourself

Tobias Hoffmann edited this page Sep 11, 2018 · 13 revisions

This wiki explains how you can build the app installers yourself or start the app without using any installers from the release page.

Requirements

Windows

Instructions

  1. Clone the repository
    git clone https://github.com/klayveR/xenontrade.git

  2. Install dependencies
    npm install
    If Python 2.7.15 can't be found by node-gyp, try
    npm config set python "c:\Python27\python.exe"

  3. Build executable
    npm run dist-win

The executable will be created in the dist directory.

If you don't want to create an executable, you can simply run the app with npm start after cloning the repository.

Create executable dependencies

The Windows version of XenonTrade relies on the executables found in src/resource/executables. Those are Python scripts packaged into an executable. This is done so users don't have to install Python on their systems in order to run this app properly.

Please note that these executables can not be created on a Linux system, this process only works on Windows.

Linux

Instructions

  1. Clone the repository
    git clone https://github.com/klayveR/xenontrade.git

  2. Install dependencies
    npm install

  3. Build executables
    npm run dist

The executables will be created in the dist directory. You can change targets by editing the build.linux.target property in package.json.

If you don't want to create an executable, you can simply run the app with npm start after cloning the repository.

Clone this wiki locally