Skip to content
This repository was archived by the owner on May 22, 2018. It is now read-only.

Experimental #4

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
[submodule "bigchaindb-server"]
path = bigchaindb-server
url = https://github.com/bigchaindb/bigchaindb/
[submodule "plugins/bigchaindb-consensus-composition"]
path = plugins/bigchaindb-consensus-composition
url = https://github.com/ascribe/bigchaindb-consensus-composition/
[submodule "plugins/bigchaindb-consensus-policy"]
path = plugins/bigchaindb-consensus-policy
url = https://github.com/ascribe/bigchaindb-consensus-policy/
[submodule "examples/client/asset_composition"]
path = examples/client/asset_composition
url = [email protected]:ascribe/sicpa-client.git
[submodule "plugins/bigchaindb-smart-assets"]
path = plugins/bigchaindb-smart-assets
url = [email protected]:ascribe/bigchaindb-smart-assets.git
19 changes: 19 additions & 0 deletions compose/bdb-server-plugins/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM python:3.5

RUN apt-get update && apt-get install -y python3.4 vim

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

RUN pip install --upgrade pip

COPY bigchaindb-server /usr/src/app/
COPY plugins/bigchaindb-consensus-composition /usr/src/app/plugins/bigchaindb-consensus-composition

RUN pip install --no-cache-dir -e .[dev]
RUN bigchaindb -y configure rethinkdb

WORKDIR /usr/src/app/plugins/bigchaindb-consensus-composition

RUN pip install --no-cache-dir -e .[dev]

24 changes: 24 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,30 @@ services:
BIGCHAINDB_SERVER_BIND: 0.0.0.0:9984
BIGCHAINDB_KEYPAIR_PUBLIC: GW1nrdZm4mbVC8ePeiGWz6DqHexqewqy5teURVHi3RG4
BIGCHAINDB_KEYPAIR_PRIVATE: 2kQgBtQnHoauw8QchKM7xYvEBW1QDoHzhBsCL9Vi1AzB
BIGCHAINDB_CONSENSUS_PLUGIN: default
ports:
- "49984:9984"
command: bigchaindb start

bdb-server-plugins:
build:
context: .
dockerfile: ./compose/bdb-server-plugins/Dockerfile
volumes:
- ./bigchaindb-server/bigchaindb:/usr/src/app/bigchaindb
- ./bigchaindb-server/tests:/usr/src/app/tests
- ./bigchaindb-server/docs:/usr/src/app/docs
- ./bigchaindb-server/setup.py:/usr/src/app/setup.py
- ./bigchaindb-server/setup.cfg:/usr/src/app/setup.cfg
- ./bigchaindb-server/pytest.ini:/usr/src/app/pytest.ini
- ./bigchaindb-server/tox.ini:/usr/src/app/tox.ini
- ./bigchaindb-server/Makefile:/usr/src/app/Makefile
environment:
BIGCHAINDB_DATABASE_HOST: rdb
BIGCHAINDB_SERVER_BIND: 0.0.0.0:9984
BIGCHAINDB_KEYPAIR_PUBLIC: GW1nrdZm4mbVC8ePeiGWz6DqHexqewqy5teURVHi3RG4
BIGCHAINDB_KEYPAIR_PRIVATE: 2kQgBtQnHoauw8QchKM7xYvEBW1QDoHzhBsCL9Vi1AzB
BIGCHAINDB_CONSENSUS_PLUGIN: consensus_asset_composition
ports:
- "49984:9984"
command: bigchaindb start
Expand Down
1 change: 1 addition & 0 deletions examples/client/asset_composition
Submodule asset_composition added at 42cad4
10 changes: 10 additions & 0 deletions examples/client/css/scss/bigchaindb.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$brand-main-green: #39BA91;

$brand-main-gray: #445261;
$brand-main-gray-light: #CAD2DA;
$brand-main-gray-lighter: #E8EBEF;

$brand-main-blue-dark: #101A25;
$brand-main-blue: #074354;
$brand-main-blue-light: #BFE6EC;

Loading