summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md54
1 files changed, 47 insertions, 7 deletions
diff --git a/README.md b/README.md
index d221946..c9f3e7f 100644
--- a/README.md
+++ b/README.md
@@ -10,9 +10,9 @@ Step 1: `cd` into the directory:<br/>
> ```$ cd taler-merchant-demos```
<br/>
-Step 2: Ensure Python3.5 or above is installed using a command like:<br/>
+Step 2: Ensure Python 3.5 or above and Flask with the Babel extension are installed using a command like:<br/>
-> ```$ sudo apt install python3.8 -y```
+> ```$ sudo apt install python3.8 python3-flask-babel -y```
<br/>
Step 3: Ensure Python3 Pip is installed:<br/>
@@ -20,7 +20,7 @@ Step 3: Ensure Python3 Pip is installed:<br/>
> ```$ sudo apt install python3-pip -y```
<br/>
-Step 4: configure it using:<br/>
+Step 4: configure this package using:<br/>
> ```$ ./configure --destination=local```
@@ -46,6 +46,10 @@ Step 7: Install NPM<br>
Step 8: Install scss<br>
> ```$ make sass-install```
+This will the NPM implementation of sass. If you have a Ruby
+tool called 'sass' installed, this build will NOT work.
+
+
## Quick Install for the dependencies
Here's one command to automatically install all dependencies at once:
> ```$ sudo apt install python3.8 python3-pip npm -y; pip3 install lxml uwsgi; ./configure --destination=local; sudo npm install -g npm node;make sass-install```
@@ -60,17 +64,19 @@ Step 1: Open the config:
Step 2: Adding the required keys:
> Copy & Paste the following into the file:
+
> ```
> [frontends]
> backend_apikey = "ApiKey Sandbox"
> backend = https://backend.test.taler.net/
->
+>
> [taler]
> currency = TESTKUDOS
->
+>
> [blog]
> http_port = 8080
-> ```
+> serve = http
+```
<br>
Step 3: Configure the config:
@@ -91,4 +97,38 @@ To apply ***SCSS*** changes, use
## Running the program
To start the server, use the following command:<br>
-> ```$ taler-merchant-demos --serve-http blog```
+> ```$ taler-merchant-demos blog```
+
+## More configuration options.
+This makes the blog speak UWSGI over TCP:
+> ```
+> [frontends]
+> backend_apikey = "ApiKey Sandbox"
+> backend = https://backend.test.taler.net/
+>
+> [taler]
+> currency = TESTKUDOS
+>
+> [blog]
+> serve = uwsgi
+> uwsgi_serve = tcp
+> uwsgi_port = XZY
+
+> ```
+<br>
+
+This makes the blog speak UWSGI over unix domain socket:
+> ```
+> [frontends]
+> backend_apikey = "ApiKey Sandbox"
+> backend = https://backend.test.taler.net/
+>
+> [taler]
+> currency = TESTKUDOS
+>
+> [blog]
+> serve = uwsgi
+> uwsgi_serve = unix
+> uwsgi_unixpath = "/tmp/blog.uwsgi"
+> uwsgi_unixpath_mode = XZY
+> ```