Skip to content

S3x0r/Lisk-Core-Windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Tutorial how to install Lisk Core (from sources) on Windows 64bit machine

  1. Download and install nodejs 10.16.3:
    https://nodejs.org/dist/v10.16.3/node-v10.16.3-x64.msi

  2. Download and install Git:
    https://github.com/git-for-windows/git/releases/download/v2.21.0.windows.1/Git-2.21.0-64-bit.exe

  3. Download and install Python 2.7.14:
    https://www.python.org/ftp/python/2.7.14/python-2.7.14.amd64.msi

    choose - "Install for all users"
    choose - "Add python.exe to Path"

  4. Download and install Microsoft Visual studio 2015 C++ compiler:
    https://go.microsoft.com/fwlink/?LinkId=532606&clcid=0x409

    choose - "Custom" install
    choose - "Programming Languages" -> "Visual C++"

  5. Download and install postgres:
    https://oscg-downloads.s3.amazonaws.com/packages/PostgreSQL-10.5-1-win64-bigsql.exe

    choose - "pgAdmin3 LTS"

  6. Run postgres server:
    Press Windows+R keys
    cmd (enter)

    in console:
    cd C:\PostgreSQL
    pgc.bat start

  7. Start -> Programs -> "PostgreSQL" -> "pgAdmin3 LTS by BigSQL"
    connect to database
    create database: lisk_test
    create login roles: your windows account name

  8. Start -> Programs -> "Git" -> "Git Bash"
    Now in console:

    cd C:\
    git clone https://github.com/LiskHQ/lisk-core.git
    cd lisk-core
    git checkout v2.1.1-rc.0 -b v2.1.1-rc.0
    npm config set msvs_version 2015
    npm ci
    npm run build

  9. In directory "C:\lisk-core\config\testnet" edit: config.json
    add line in "logger" section:
    "consoleLogLevel": "info"

  10. Press Windows+R keys
    cmd (enter)
    in console:
    cd C:\lisk-core\dist

    and run Lisk Core:
    node index.js --network testnet

Done!

About

Tutorial how to install Lisk Core (from sources) on Windows 64bit machine

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published