From 21142f1ea07a6011685248dc2efa70703120f5a8 Mon Sep 17 00:00:00 2001 From: michielmulders Date: Thu, 20 Jul 2017 22:56:36 +0200 Subject: [PATCH 1/2] Update quickstart.md with minor details At point D, you start the mongo shell which is listening on port 27017 for incoming connections from BDB. At point E, you don't mention to open a new terminal because you want to keep the mongo shell alive (or run it in background with addition of '&', however I prefer to see the mongo output). Being stupid me, I shut down the terminal which resulted in not being able to start BDB. Beside that, I added a verification step to make sure that BDB server is running correctly. --- docs/server/source/quickstart.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/server/source/quickstart.md b/docs/server/source/quickstart.md index 31a3746c..0a8a1c71 100644 --- a/docs/server/source/quickstart.md +++ b/docs/server/source/quickstart.md @@ -16,12 +16,12 @@ C. Assign rwx(read/write/execute) permissions to the user for default database d $ sudo chmod -R 700 /data/db ``` -D. Run MongoDB: +D. Run MongoDB (do not close this terminal): ```text $ sudo mongod --replSet=bigchain-rs ``` -E. Ubuntu 16.04 already has Python 3.5, so you don't need to install it, but you do need to install some other things: +E. Ubuntu 16.04 already has Python 3.5, so you don't need to install it, but you do need to install some other things within a new terminal: ```text $ sudo apt-get update $ sudo apt-get install g++ python3-dev libffi-dev build-essential libssl-dev @@ -57,6 +57,13 @@ I. Run BigchainDB Server: $ bigchaindb start ``` +J. Verify BigchainDB Server setup by visiting the BigchainDB Root Url in your browser (if not changed during installation): +```text +$ http://127.0.0.1:9984/ +``` + +A correctly installed installation will show you a JSON object with information about the API, docs, version and your public key. + You now have a running BigchainDB Server and can post transactions to it. One way to do that is to use the BigchainDB Python Driver. From b7426e52b207752d723f0710e96f457922f0904f Mon Sep 17 00:00:00 2001 From: michielmulders Date: Tue, 1 Aug 2017 13:40:38 +0200 Subject: [PATCH 2/2] Update Quickstart with requested changes addition of 'but' removal trailing phrase inside parentheses Url replaced with URL as it's still an acronym so it's written with capital letters --- docs/server/source/quickstart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/server/source/quickstart.md b/docs/server/source/quickstart.md index 0a8a1c71..49a1c94e 100644 --- a/docs/server/source/quickstart.md +++ b/docs/server/source/quickstart.md @@ -16,7 +16,7 @@ C. Assign rwx(read/write/execute) permissions to the user for default database d $ sudo chmod -R 700 /data/db ``` -D. Run MongoDB (do not close this terminal): +D. Run MongoDB (but do not close this terminal): ```text $ sudo mongod --replSet=bigchain-rs ``` @@ -57,7 +57,7 @@ I. Run BigchainDB Server: $ bigchaindb start ``` -J. Verify BigchainDB Server setup by visiting the BigchainDB Root Url in your browser (if not changed during installation): +J. Verify BigchainDB Server setup by visiting the BigchainDB Root URL in your browser: ```text $ http://127.0.0.1:9984/ ```