0.0.2 • Published 7 years ago

@ce-t/mining-server v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Maybe this is outdated ¯\(ツ)

Setup

Install

Ensure to have yarn globally installed. (npm install -g yarn) Just run yarn install --pure-lockfile to install the dependencies.

Start

When the server was started - it will always restart if no database connection are established.

Single threaded

This will start the server with just one worker and one database connection. npm start

Multi threaded

As much cpu you machine has as much worker will get spawned and database connections are established. npm start -- --cluster

Further Development

Help

This isn't required anymore in case of yarn workspace.

If you want do develop with dependent submodules - you can use npm link or yarn link.