gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-webex] 02/02: more standardized binaries, bet


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] 02/02: more standardized binaries, better README
Date: Mon, 19 Aug 2019 13:30:54 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-webex.

commit 54fec752796846389ae187834c19e5720a1c43a8
Author: Florian Dold <address@hidden>
AuthorDate: Mon Aug 19 13:29:59 2019 +0200

    more standardized binaries, better README
---
 README               | 46 +++++++++++++++++++++++++++++-----------------
 bin/taler-wallet-cli |  2 ++
 package.json         |  3 +++
 3 files changed, 34 insertions(+), 17 deletions(-)

diff --git a/README b/README
index ece8c2fb..f2256cc4 100644
--- a/README
+++ b/README
@@ -1,34 +1,46 @@
 GNU Taler Wallet
 ================
 
-Cross-browser GNU Taler wallet written for the WebExtensions API.
+This package implements a wallet for GNU Taler in TypeScript.
 
+It can be run on different platforms:
+1. As a cross-browser extension, written for the WebExtension API
+2. As a Node.JS package
 
-Installation
+
+Dependencies
 ============
 
+Dependencies are managed as NPM dependencies.  For performance reasons,
+we use `yarn' as a replacement for `npm' in the build system.
+
+For cryptographic operations, the wallet uses an emscripten-compiled
+library.  The binary files for this library are in `./emscripten'.
+The instructions for building this binary from scrach can be found
+in the libtaler-emscripten repository:
+
+https://git.taler.net/libtalerutil-emscripten.git/
+
+
+Building from source (Web Extension)
+======================================
+
 Run `./configure && make' to create an archive
 containing the extension in ./build/taler-wallet-$VERSION.zip
 
-Dependencies
-============
 
-See thirdparty/README for a list of dependencies that are checked into this
-repository as a git subtree.
+Building from source (Node.JS)
+======================================
 
-This project also has the following third-party runtime dependencies, which
-are checked in compiled or minified form:
-- React (Facebook Inc., BSD License)
+Run `./configure && make tsc' to build the wallet.  The command line
+interface for the wallet is available in `./bin/taler-wallet-cli'.
 
 
-Emscripten compiled dependencies:
-* libgnunetutil
-* libgnunetjson
-* libgcrypt
-* libunistring
+Installation
+============
 
+To install the package permanently on your system, run:
 
-Documentation
-=============
+$ npm install -g --prefix $PREFIX .
 
-See the documentation at http://doc.taler.net/dev-wallet-wx.html
+The binaries will be installed to `$PREFIX/bin'.
diff --git a/bin/taler-wallet-cli b/bin/taler-wallet-cli
new file mode 100755
index 00000000..1dbf05a0
--- /dev/null
+++ b/bin/taler-wallet-cli
@@ -0,0 +1,2 @@
+#!/usr/bin/env node
+require('../dist/node/headless/taler-wallet-cli.js')
diff --git a/package.json b/package.json
index e1becbf3..3cb44a0c 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,9 @@
   "bin": {
     "taler-wallet-cli": "./bin/taler-wallet-cli"
   },
+  "scripts": {
+    "build": "make tsc"
+  },
   "devDependencies": {
     "@types/moment": "^2.13.0",
     "@types/react": "^16.4.0",

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]