aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-06-27 15:12:44 -0300
committerSebastian <sebasjm@gmail.com>2022-06-27 15:12:44 -0300
commitdfb385aac96a20fd36bd7f939e96c0b3aca2c022 (patch)
tree37151410ed95be558bd2dbcefedf15f2a0555f18 /README
parentd7dfdb1e2706df4a48b82a621a7c8fcd14a4631d (diff)
downloadwallet-core-dfb385aac96a20fd36bd7f939e96c0b3aca2c022.tar.gz
wallet-core-dfb385aac96a20fd36bd7f939e96c0b3aca2c022.tar.bz2
wallet-core-dfb385aac96a20fd36bd7f939e96c0b3aca2c022.zip
anastasis build instruction and some fixes
Diffstat (limited to 'README')
-rw-r--r--README79
1 files changed, 29 insertions, 50 deletions
diff --git a/README b/README
index 67c41d348..fc7a2e719 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
-# GNU Taler Wallet
+# GNU Taler Wallet & Anastasis Web UI
This repository contains the implementation of a wallet for GNU Taler written
-in TypeScript.
+in TypeScript and Anastasis Web UI
## Dependencies
@@ -41,54 +41,6 @@ This will create the zip file with the WebExtension in the directory
packages/taler-wallet-webextension/extension/
```
-We also provide a `Dockerfile` for a container that can build the
-WebExtension. After you install docker, make sure the user is in group
-`docker` and (re-)start the docker daemon:
-
-```shell
-# Make sure there is a docker group.
-$ grep docker: /etc/group
-$ sudo groupadd docker
-
-# Make sure USER is defined and is in the docker group.
-$ echo $USER
-$ sudo usermod -aG docker $USER
-
-# Restart the docker daemon.
-# (This command is OS-specific.)
-
-# Obtain a new shell. Make sure it includes the `docker` group.
-$ newgrp docker
-$ id
-```
-
-Then, you can proceed with these instructions:
-
-```shell
-# Download wallet source code and unpack it
-(host)$ tar -xf wallet-core-$version.tar.gz
-
-# Build the image
-(host)$ docker build --tag walletbuilder wallet-core-$version/contrib/wallet-docker
-
-# Start the container
-(host)$ docker run -dti --name walletcontainer walletbuilder /bin/bash
-
-# Copy wallet source to container
-(host)$ docker cp ./wallet-core-$version/ walletcontainer:/
-
-# Attach to container
-(host)$ docker attach walletcontainer
-
-# Run build inside container
-(container)$ cd wallet-core-$version
-(container)$ ./configure && make webextension
-(container)$ exit
-
-# Copy build artefact(s) to host
-(host)$ docker cp walletcontainer:/wallet-core-$version/packages/taler-wallet-webextension/extension extension
-```
-
### Reviewing WebExtension UI examples
The WebExtension can be tested using example stories.
@@ -153,3 +105,30 @@ from the source tree is executed, and not the globally installed one:
PATH="$PWD/packages/taler-wallet-cli/bin:$PATH" \
nyc ./packages/taler-integrationtests/testrunner '*'
```
+
+## Anastasis Web UI
+
+## Building for deploy
+
+To build the Anastasis SPA run:
+
+```shell
+make anastasis-webui
+```
+
+It will run the test suite and put everything into the dist folder under the project root (packages/anastasis-webui).
+You can run the SPA directly using the file:// protocol.
+
+```shell
+firefox packages/anastasis-webui/dist/ui.html
+```
+
+Additionally you can create a zip file with the content to upload into a web server:
+
+```shell
+make anastasis-webui-dist
+```
+
+It creates the zip file named `anastasis-webui.zip`
+
+