Basis is Dokku:
upstream $APP {
server 127.0.0.1:$PORT;
}
server {
listen [::]:80;
listen 80;
~/s/electrum ❯❯❯ python ./scripts/merchant/merchant.py request 2 2 2 | |
Traceback (most recent call last): | |
File "./scripts/merchant/merchant.py", line 163, in <module> | |
ret = send_command(cmd, params) | |
File "./scripts/merchant/merchant.py", line 144, in send_command | |
out = server.request(*params) | |
File "/usr/local/lib/python2.7/dist-packages/jsonrpclib/jsonrpc.py", line 274, in __call__ | |
return self.__send(self.__name, args) | |
File "/usr/local/lib/python2.7/dist-packages/jsonrpclib/jsonrpc.py", line 225, in _request | |
check_for_errors(response) |
def getheight(self): | |
return self.network.synchronous_get([ ('blockchain.height') ]) |
ramon@tintin ~/src/ruby-bitcoin-box/mnt/electrum (master●)$ python scripts/merchant/merchant.py [ruby-2.1.1] | |
Traceback (most recent call last): | |
File "scripts/merchant/merchant.py", line 24, in <module> | |
from electrum import Wallet, WalletStorage, SimpleConfig, Network, set_verbosity | |
ImportError: No module named electrum | |
ramon@tintin ~/src/ruby-bitcoin-box/mnt/electrum (master●)$ cd scripts/merchant [ruby-2.1.1] | |
ramon@tintin ~/src/ruby-bitcoin-box/mnt/electrum/scripts/merchant (master●)$ python merchant.py [ruby-2.1.1] | |
Traceback (most recent call last): | |
File "merchant.py", line 24, in <module> | |
from electrum import Wallet, WalletStorage, SimpleConfig, Network, set_verbosity |
#!/bin/bash | |
source "/home/deploy/.rvm/scripts/rvm" |
Basis is Dokku:
upstream $APP {
server 127.0.0.1:$PORT;
}
server {
listen [::]:80;
listen 80;
Let's pause for a bit. Okay, now, let's fast-forward. You're now five years into the future. You walk into a restaurant, have a fine meal, and ask for the bill. The waiter hands you a tiny tablet and you whip out your phone to scan the QR code on it. It blinks "paid". Done with your supper, you walk out and tap your phone to hail a cab. At your destination, your driver hands you another tiny tablet and you scan the QR code there as well.
It might sound like a scene from your usual sci-fi flick, but I'd like to think this future is not too far away. Take your imagination further and envision paying with money that is not controlled by a single institution. Imagine this money being sent across political borders, with virtually no fee, being received safely and fully by your recipient. After all, it is your money. Shouldn't you have full control of it?
This is the powerful possibility of virtual currencies. The most popular, [Bitcoin]
Class {id: "89069589-5750-41b7-a91e-18da7c03e0c3", store: Class, container: Container, _changesToSync: Object, _deferredTriggers: Array[0]…} | |
__ember1398576977764: "ember323" | |
__ember1398576977764_meta: Object | |
_attributes: Object | |
_changesToSync: Object | |
_data: Object | |
_deferredTriggers: Array[0] | |
_inFlightAttributes: Object | |
_loadingPromise: null | |
_relationships: Object |
App.ApplicationController = Ember.ObjectController.extend | |
order: null | |
product: null | |
init: -> | |
order_uuid = $('meta[name="order_uuid"]').attr('content') | |
@store.find("order", order_uuid).then((order) => | |
console.log "Yay, got", order | |
order.get("product").then((product) => | |
console.log "sad, did not get", product | |
# I get this error in the console instead: |
diff --git a/spec/fixtures/vcr_cassettes/Payment_depoy_management/creates_a_payment_depot_to_receive_payments.yml b/spec/fixtures/vcr_cassettes/Payment_depoy_management/creates_a_payment_depot_to_receive_payments-full.yml | |
index bfda979..5919122 100644 | |
--- a/spec/fixtures/vcr_cassettes/Payment_depoy_management/creates_a_payment_depot_to_receive_payments.yml | |
+++ b/spec/fixtures/vcr_cassettes/Payment_depoy_management/creates_a_payment_depot_to_receive_payments-full.yml | |
@@ -23,7 +23,7 @@ http_interactions: | |
message: OK | |
headers: | |
Date: | |
- - Mon, 10 Mar 2014 13:12:41 +0000 | |
+ - Mon, 10 Mar 2014 13:04:46 +0000 |