From 91ea1d23bc065a1236be37b212f73024c7f8317e Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 6 Jan 2014 15:00:28 -0300 Subject: [PATCH 1/4] index page --- app/views/includes/head.jade | 2 +- app/views/index.jade | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/app/views/includes/head.jade b/app/views/includes/head.jade index 08e4f44..f286985 100755 --- a/app/views/includes/head.jade +++ b/app/views/includes/head.jade @@ -3,7 +3,7 @@ head meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1') meta(name='viewport', content='width=device-width,initial-scale=1') - title BitPay + title Mystery meta(http-equiv='Content-type', content='text/html;charset=UTF-8') meta(name="keywords", content="node.js, express, mongoose, mongodb, angularjs") meta(name="description", content="Mystery") diff --git a/app/views/index.jade b/app/views/index.jade index 874b042..02348b3 100755 --- a/app/views/index.jade +++ b/app/views/index.jade @@ -1,4 +1,24 @@ extends layouts/default block content - h1 Hello BitPay! + h1 mystery + p ˈmɪst(ə)ri/' + | noun + audio(src="https://ssl.gstatic.com/dictionary/static/sounds/de/0/mystery.mp3",preload="auto",data-dobid="aud",id="aud") + button(onclick="document.getElementById('aud').play()") Play + + ol + li + strong something that is difficult or impossible to understand or explain. + p "the mysteries of outer space" + | synonyms: puzzle, enigma, conundrum, riddle, secret, unsolved problem, problem, question, question mark, closed book; secrecy or obscurity. + p "much of her past is shrouded in mystery" + | synonyms: secrecy, darkness, obscurity, ambiguity, ambiguousness, uncertainty, impenetrability, vagueness, nebulousness; More + li + strong a person or thing whose identity or nature is puzzling or unknown. + p "‘He's a bit of a mystery,’ said Nina" + li + strong a novel, play, or film dealing with a puzzling crime, especially a murder. + p "the 1920s murder mystery, The Ghost Train" + | synonyms: thriller, detective story/novel, murder story; More + From af8ce3e4941fc671b7928936ad7bf203a569d6d8 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 6 Jan 2014 15:51:44 -0300 Subject: [PATCH 2/4] bitcoind configuration sample --- etc/bitcoind/bitcoin.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 etc/bitcoind/bitcoin.conf diff --git a/etc/bitcoind/bitcoin.conf b/etc/bitcoind/bitcoin.conf new file mode 100644 index 0000000..50bac19 --- /dev/null +++ b/etc/bitcoind/bitcoin.conf @@ -0,0 +1,12 @@ +rpcuser=mystery +rpcpassword=real_mystery +server=1 +rpcallowip=127.0.0.1 +rpcport=8332 +testnet=1 +txindex=1 + + + + + From 6bf3b4f0537c328aac188024af99f1df2db7fe66 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 6 Jan 2014 15:55:45 -0300 Subject: [PATCH 3/4] markdown updated --- README.md | 8 ++++++++ config/routes.js | 3 +++ 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 17e46ba..96ff245 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ mystery ======= + + +## bitcoind configuration + + There is a bitcoind configuration sample at: +``` + etc/mystery/bitcoin.conf +```: diff --git a/config/routes.js b/config/routes.js index af9c691..182a216 100644 --- a/config/routes.js +++ b/config/routes.js @@ -6,4 +6,7 @@ module.exports = function(app) { var index = require('../app/controllers/index'); app.get('/', index.render); + //TX routes + // + }; From 5a6979a91124afb322ba758d897636ebaa96341c Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Mon, 6 Jan 2014 16:06:56 -0300 Subject: [PATCH 4/4] bitcore dependency added --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d44870a..e364609 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "express": "~3.4.7", "jade": "~1.0.2", "mongoose": "~3.8.3", - "lodash": "~2.4.1" + "lodash": "~2.4.1", + "bitcore": "*" } }