Skip to content

Latest commit

 

History

History
95 lines (73 loc) · 4.35 KB

README.md

File metadata and controls

95 lines (73 loc) · 4.35 KB

Apollo Blockchain Platform

Apollo is being being developed by the Apollo Foundation and supporting members of the community.

Requirements

Java 8 is required to run the desktop clients.

Links

Specifications

Concensus: POS (Proof of Stake)

Total Supply: 21 Billion

Circulating: 15 Billion

Mining: Pre-Mined

Inflation: 0%

Build instruction

If you have already installed jdk 8 and maven, you can skip "Preparation steps" section, but its recommended to review your software versions using instructions from "Preparation steps" section

Preparation steps

  1. Download Java Development Kit (jdk), version 8

  2. Setup JAVA_HOME variable to point on unpacked jdk if not set

  3. Add to PATH variable path to java binaries -> JAVA_HOME/bin

    NOTE: if your computer has jdk 9, jdk 10 or jdk 11, you should remove it from PATH variable

  4. Open command line and execute: java -version.

    Output example:

    • java version "1.8.0_161"
    • Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
    • Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

    Parameters definitions:

    • java version x.x.x_x - should start with 1.8!
    • JRE build version - should start with 1.8!
    • JVM - 64-bit is preferable
  5. If version matches downloaded version, your java was installed successfully and you can proceed with next steps. If version does not match, delete old version, setup variables (JAVA_HOME, PATH) and try again. PATH should not contain few java bin directories!

  6. Download build tool for project - maven from official site

  7. Unpack maven binaries into convenient folder

  8. Create M2_HOME variable or update existing to point to unpacked maven folder

  9. Add to PATH variable path to maven binaries M2_HOME/bin

  10. Open command line and execute: mvn -v.

    Output example:

    • Apache Maven 3.5.3 (3383c37e1f9e9b3bc3df5050c29c8aff9f295297;2018-02-24T21:49:05+02:00)
    • Maven home: E:\binaries\apache-maven-3.5.3\bin..
    • Java version: 1.8.0_161, vendor: Oracle Corporation
    • Java home: E:\Java\jdk1.8.0_161\jre
    • Default locale: en_En, platform encoding: Cp1251
    • OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

    Parameter definitions:

    • Apache Maven x.x.x - version of installed maven (should be equals to downloaded version!)
    • Maven home - path to binaries, should be equals to path to maven binaries which you have set in PATH variable
    • Java version - version of java which should be equals to downloaded java version
    • Java home - path to java should point to your downloaded java
  11. If maven version, javaHome and java_version matches your downloaded java and maven -> your maven was installed successfully and you are able to build and run wallet! Just choose your OS from the list below and perform specified steps.

Linux/MacOS

  • Clone repository using git command git clone or download archive file of source code
  • Unpack archive of source code if required
  • go to source directory
  • find compile.sh file and run it
  • find run-desktop.sh and run it
  • application should start in desktop mode
  • if you require command line mode -> use run.sh instead of run-desktop.sh

Windows

  • Clone repository using git command git clone or download archive file of source code
  • Unpack archive of source code if required
  • go to source directory
  • find compile.bat file and run it
  • find run-desktop.bat and run it
  • application should start in desktop mode
  • if you require command line mode -> use run.bat instead of run-desktop.bat