Giter Site home page Giter Site logo

base.server-node's Introduction

base.network server-node

http://base.network

Install server node

Server-node work on Node.js-technology. Setup Node.js on your server before installing.

Linux

git clone https://github.com/basenetwork/base.server-node

# install sqlite3 module from sources
cd base.server-node && npm install sqlite3 --build-from-source && cd ..

# start server
nohup base.server-node/base.node.js  >/var/log/base.node.log &

If sqlite3 module won’t build you’re probably missing one of the python or gcc dependencies, on linux try running sudo npm install -g node-gyp, sudo apt-get install -y build-essential python-software-properties python g++ make before retrying the build from source.

Usage

base.server-node/base.node.js [options]
  OPTIONS:
    --host=<ip_addr> - IPv4 or IPv6 address. default: chose from network interfaces
    --port=<num>     - Port. default: 8080
    --dir=<path>     - Work directory. default: ~/.basenetwork/
    --size=<num>     - Storage-size. Allocate of <size> GiB
    --debug=<0|1>    - Out debug info to stdin
    --clear=<0|1>    - Clear storage data

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.