Giter Club home page Giter Club logo

ebookcoin's Introduction

Ebookcoin

书链:加密货币驱动的电子书写作和版权保护应用。源码解析与开发指南:《Nodejs开发加密货币》,官方开发交流群:185046161

Ebookcoin is a decentralized application for eBook-writing and copyright-protection powered by the next-generation Crypto Currency. For more information please refer to our website: http://ebookcoin.com/ (coming soon).

Installation

NOTE: The following is applicable to: Ubuntu 14.04 (LTS) - x86_64.

Install essentials:

sudo apt-get update
sudo apt-get install curl build-essential python

Install SQLite3 (version 3.8.2):

apt-get install -y sqlite3

Install Node.js (version 0.12.x) + npm:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
nvm install 0.12.7

Install grunt-cli (globally):

npm install grunt-cli -g

Install bower (globally):

npm install bower -g

Install node modules:

npm install

Load git submodules (client and ebookcoin-js):

git submodule init
git submodule update

Build the user-interface:

cd public
npm install
bower install
grunt release

Launch

To launch Ebookcoin:

node app.js

NOTE: The port, address and config-path can be overridden by providing the relevant command switch:

node app.js -p [port] -a [address] -c [config-path]

Tests

Before running any tests, please ensure Ebookcoin is configured to run on a local testnet (this is the default), and not the mainnet.

Install mocha (globally):

npm install mocha -g

Run the test suite:

npm test

Run individual tests:

mocha test/lib/accounts.js
mocha test/lib/transactions.js

License

The MIT License (MIT)

Copyright (c) 2016 Ebookcoin
Copyright (c) 2014-2015 Crypti

ebookcoin's People

Contributors

imfly avatar hellocob avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.