From 931f2262d9ef7f571fe87b176f6cd531b3579a68 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 16 Jan 2017 22:03:44 -0800 Subject: Migrate sales page --- README.md | 28 +++++- index.html | 18 ---- src/components/Navigation.vue | 33 +++++++ src/components/Register.vue | 35 +++++++ src/components/Sales.vue | 209 ++++++++++++++++++++++++++++++++++++++++++ src/components/SignIn.vue | 2 +- src/main.js | 3 +- static/js/report.coffee | 148 ------------------------------ static/js/report.js | 143 ----------------------------- views/users/index.html | 7 -- 10 files changed, 306 insertions(+), 320 deletions(-) create mode 100644 src/components/Navigation.vue create mode 100644 src/components/Register.vue create mode 100644 src/components/Sales.vue delete mode 100644 static/js/report.coffee delete mode 100644 static/js/report.js delete mode 100644 views/users/index.html diff --git a/README.md b/README.md index bb5d3cf7..f8b86724 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,30 @@ -# The Bitcoin Co-op +# CoinOS -This website uses the Twitter Bootstrap library and the ExpressJS framework. If you want to contribute changes or updates, contact adam@bitcoincoop.org to get started. +CoinOS is a mobile-friendly point-of-sale app that merchants can use to accept Bitcoin payments. + +# Features + +* Setup a customized payment page with your company name and logo +* Enter sale amounts in your local currency and have them converted to an amount in bitcoin using your chosen exchange rate +* A QR code payment request is generated with your receiving address and the sale amount for your customers to scan +* Get am on-screen notification when the requested amount is received at your address +* Transactions and the exchange rate at the time of sale are recorded and can be viewed later and filtered by date range + +# Installation + +Install nodeJS (http://nodejs.org/) and redis (http://redis.io/). On Ubuntu that looks like: + + sudo apt-get install nodejs redis-server + +Download and configure CoinOS: + + git clone https://github.com/thebitcoincoop/coinos + cd coinos + npm install + bower install + npm start + +Now the app should be runnning at http://localhost:3001/ # License diff --git a/index.html b/index.html index 82e457a3..cc0ce247 100644 --- a/index.html +++ b/index.html @@ -20,24 +20,6 @@
-
diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue new file mode 100644 index 00000000..d83d48b2 --- /dev/null +++ b/src/components/Navigation.vue @@ -0,0 +1,33 @@ + diff --git a/src/components/Register.vue b/src/components/Register.vue new file mode 100644 index 00000000..3b04ccc3 --- /dev/null +++ b/src/components/Register.vue @@ -0,0 +1,35 @@ + diff --git a/src/components/Sales.vue b/src/components/Sales.vue new file mode 100644 index 00000000..623868dd --- /dev/null +++ b/src/components/Sales.vue @@ -0,0 +1,209 @@ + + + diff --git a/src/components/SignIn.vue b/src/components/SignIn.vue index 37a49d5f..4592602f 100644 --- a/src/components/SignIn.vue +++ b/src/components/SignIn.vue @@ -1,7 +1,7 @@