taler-merchant-demos

Python-based Frontends for the Demonstration Web site
Log | Files | Refs | Submodules | README | LICENSE

commit 30a87f5941147fd6016767276fe5cbf1b43c7ae0
parent a391419bea69ad05c732f1a6307f3097e4b732f7
Author: MS <ms@taler.net>
Date:   Wed, 22 Jul 2020 15:54:46 +0200

Installing donations (css not found)

Diffstat:
Dbin/.taler-merchant-demos.swp | 0
Mbin/taler-merchant-demos | 8++++----
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/.taler-merchant-demos.swp b/bin/.taler-merchant-demos.swp Binary files differ. diff --git a/bin/taler-merchant-demos b/bin/taler-merchant-demos @@ -82,8 +82,8 @@ def handle_serve_http(config, whichShop, port=None): @click.option("--serve-http", help="Serve via HTTP", is_flag=True, required=False) @click.option("--port", help="HTTP port to serve (if not given, it's picked from config)", required=False, type=int) @click.option("--serve-uwsgi", help="Serve via UWSGI (default)", required=False) -@click.argument("whichShop") -def demos(config, serve_http, port, serve_uwsgi, whichShop): +@click.argument("which-shop") +def demos(config, serve_http, port, serve_uwsgi, which_shop): """ WHICHSHOP is one of: blog, donations, or survey. """ @@ -91,8 +91,8 @@ def demos(config, serve_http, port, serve_uwsgi, whichShop): os.environ["TALER_CONFIG_FILE"] = config config_obj = TalerConfig.from_file(os.environ.get("TALER_CONFIG_FILE")) if serve_http: # port was given - handle_serve_http(config_obj, whichShop, port) + handle_serve_http(config_obj, which_shop, port) return - handle_serve_uwsgi(config_obj, whichShop) + handle_serve_uwsgi(config_obj, which_shop) demos()