From f74db8a922d2fea5eb41576e11c955398ca2afae Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 7 Feb 2018 10:17:23 +0000 Subject: [PATCH] Documentation including internal port --- doc/EN/devguide.org | 4 ++-- man/freedombone-template.1.gz | Bin 1076 -> 1126 bytes website/EN/devguide.html | 24 ++++++++++++------------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/EN/devguide.org b/doc/EN/devguide.org index 441e419b..6ec04310 100644 --- a/doc/EN/devguide.org +++ b/doc/EN/devguide.org @@ -47,12 +47,12 @@ freedombone-template --app [name] -e [email] -r [repo url] \ src/freedombone-app-myappname #+end_src -For a Python app without any database: +For a Python app without any database, communicating between the daemon and the web server on port 1234: #+begin_src bash freedombone-template --app [name] -e [email] -r [repo url] \ -c [commit] --dir /etc/myappname \ - --daemon yes > \ + --daemon yes --portinternal 1234 > \ src/freedombone-app-myappname #+end_src diff --git a/man/freedombone-template.1.gz b/man/freedombone-template.1.gz index fd98a6e1daab86122a8b5c2cf32e38ff7b7257f0..477e142e278a663eec9b1bef58fdd0f140893461 100644 GIT binary patch literal 1126 zcmV-s1eyCEiwFP$(t26|1GQG)Z`(Eye%D`d@JnB6yXl5u2!>+LuO`5f7`B6L$clgx z&k`4jRLN5U75(FPBqiBO6Lb%0;3Oi&yZi3rcXys`&S7g2rKwV*aY|U#r67a@n7sQ1 z&M<}d?+$*Qz=S_%yMu7!(7thSDRd*sNs`Rg=Pe?lpv-RIs*URG*ybWUn@;$wJ7)ZwUO+wMfX)3zcyMKy}wZx_5M-{tVRbU+*ZOWA=9t5 zagl6V6uRJS{iueJxo@NqS3M8(@+;xw;aauI}2T&B7~Gkd_QiM#Jr?Ir{54{ z7X57s;Qz9nl9}el=kPX!XidXznW_i0EtKjW8JK1@02#;{N2cP$JQB8dO-UYT%xE^~ zXtP+I@CVLru8uvktf1E?vULat@>Q`7>*;-RQG3wb0#U+@?9SaM0A8VZ}+SBHD!(E%8nVn3$pR5o% z$GciM_h_u_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C zZSE_>@4t=Jzdp$B0Sma@9)q;3&v+Kxv8>!A%qDKS;3fr$C|dN6fu|sRMbZn5UO}N_ zVR1z~9u!3cG7a@Al5b+fo8|0})z$j9Grmufli?ccFO zOyPP(QsMA>;|UMW= uvzaBwCWR|Qd~eq9OKQ?z4_p=+>0`1;ZSp&&M`N027RkRpLPKfZ3IG6w;}k3a diff --git a/website/EN/devguide.html b/website/EN/devguide.html index e73d95c3..c3227392 100644 --- a/website/EN/devguide.html +++ b/website/EN/devguide.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + @@ -246,17 +246,17 @@ for the JavaScript code in this tag.

Developers Guide

-
-

Introduction

-
+
+

Introduction

+

Freedombone consists of a set of bash scripts. There are a lot of them, but they're not very complicated. If you're familiar with the GNU/Linux commandline and can hack a bash script then you can probably add a new app or fix a bug in the system. There are no trendy development frameworks to learn or to get in your way. You might also want to consult the Code of Conduct, and there is a Matrix room at #fbone:matrix.freedombone.net

-
-

Adding extra apps

-
+
+

Adding extra apps

+

Suppose you have some internet application which you want to add to the system. To do this you need to create an app script which tells the system how to install/remove and also backup/restore. The script should be designed to work with the current stable version of Debian.

@@ -301,13 +301,13 @@ For a Python app with Postgresql database:

-For a Python app without any database: +For a Python app without any database, communicating between the daemon and the web server on port 1234:

freedombone-template --app [name] -e [email] -r [repo url] \
                      -c [commit] --dir /etc/myappname \
-                     --daemon yes > \
+                     --daemon yes --portinternal 1234 > \
                      src/freedombone-app-myappname
 
@@ -340,9 +340,9 @@ Submit your working app to -

Customising mesh images

-
+
+

Customising mesh images

+

If you want to make your own specially branded version of the mesh images, such as for a particular event, then to change the default desktop backgrounds edit the images within img/backgrounds and to change the available avatars and desktop icons edit the images within img/avatars. Re-create disk images using the instructions shown previously.