gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant-backoffice] branch master updated: dist command


From: gnunet
Subject: [taler-merchant-backoffice] branch master updated: dist command
Date: Tue, 23 Feb 2021 21:05:46 +0100

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

sebasjm pushed a commit to branch master
in repository merchant-backoffice.

The following commit(s) were added to refs/heads/master by this push:
     new bf20cbf  dist command
bf20cbf is described below

commit bf20cbfeb441dfc4d9a109e6e4502ebc37a10b02
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Feb 23 17:05:38 2021 -0300

    dist command
---
 .gitignore            |  2 +-
 README.md             | 15 ++++++++++++---
 build-system/Makefile |  4 ++++
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index ddd643b..915298f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,4 +7,4 @@ node_modules/
 /configure
 /build-system/config.mk
 /Makefile
-
+*.zip
diff --git a/README.md b/README.md
index 4ae4d67..8785a0b 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 ## Merchant Admin Frontend
 
-Merchant Admin Frontend is a Single Page Application that connect with a 
running Merchant Backend and lets you manage instances, order, products and 
tippings
+Merchant Admin Frontend is a Single Page Application (SPA) that connect with a 
running Merchant Backend and lets you manage instances, order, products and 
tippings
 
 ## System requirements
 
@@ -43,7 +43,17 @@ make dev PORT=9090
 
 ## Building for deploy
 
-To 
+To build and deploy the SPA in your local server run the install script
+
+```shell
+make install
+```
+
+Aditionally `make dist` will create a zip file with the content to upload into 
a server
+
+```shell
+make dist
+```
 
 ## CLI Commands
 
@@ -66,7 +76,6 @@ To
 *   `make dev-views`: Run visual components explorer. Usefull for components 
design and development
     without the need of setting up the whole system.
 
-
 ## Runtime dependencies
 
 *   Axios: Promise based HTTP client for the browser and node.js
diff --git a/build-system/Makefile b/build-system/Makefile
index 37a44b9..fb181b7 100644
--- a/build-system/Makefile
+++ b/build-system/Makefile
@@ -59,6 +59,10 @@ dev-view: compile
 lint:
        pnpm run lint
 
+.PHONY: dist
+dist: build
+       (cd packages/frontend/build && zip -r - .) > merchant-backoffice.zip
+
 .PHONY: install
 install: build
        echo install -d ${prefix}

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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