summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2020-11-25 16:30:31 +0100
committerFlorian Dold <florian@dold.me>2020-11-25 16:30:31 +0100
commitfcfe7e63701c03c69ec28835bd24699b270502b1 (patch)
tree0755ae52c01f78df0b205385e0c9a9d117525c24 /README
parent68dcb13fbfcf569c03170444818b5c40f2d13233 (diff)
downloadwallet-core-fcfe7e63701c03c69ec28835bd24699b270502b1.tar.gz
wallet-core-fcfe7e63701c03c69ec28835bd24699b270502b1.tar.bz2
wallet-core-fcfe7e63701c03c69ec28835bd24699b270502b1.zip
docker-based build instructions
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 23 insertions, 1 deletions
diff --git a/README b/README
index 3249f4b02..d248d9c87 100644
--- a/README
+++ b/README
@@ -6,7 +6,14 @@ in TypeScript.
## Dependencies
-In order to build the GNU Taler wallet, make sure that you have Node.JS and pnpm installed.
+The following dependencies are required to build the wallet:
+
+* python>=3.8
+* nodejs>=12
+* jq
+* npm
+* pnpm
+* zip
## Installation
@@ -31,6 +38,21 @@ This will create the zip file with the WebExtension in the location
packages/taler-wallet-webextension/taler-wallet-webextension-$VERSION.zip
```
+We also provide a `Dockerfile` for a container that can build the WebExtension:
+
+```shell
+# Build the image
+(host)$ docker build --tag walletbuilder contrib/wallet-docker
+
+# Run container with wallet source mounted
+(host)$ docker run -it -v $PWD:wallet-core walletbuilder
+
+# Run build inside container
+(container)$ cd wallet-core
+(container)$ ./configure && make webextension
+```
+
+
### Compiling from Git
If you are compiling the code from git, you have to run `./bootstrap` before