Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 940 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 940 Bytes

Liberland Blockchain API

This project houses the API to access the Liberland blockchain.

Getting started

Prerequisites

  • Compatible Node.js and NPM versions. See the engines property of the package.json file for which versions of each you should be running.

    If you're not running those versions, you can use version managers such as nvm or n to set up those versions.

Installation

Install all the necessary packages by running:

npm i

Running

To run the development server:

npm start

Once loaded, the website should be available on port 8060 of your local machine. For example, http://localhost:8060. The blockchain, centralized API (deployed on your local machine or connected to testnet) should be setup as well.

##Deployment

set environment in package.json pm2 start npm --name staging-middleware -- start