浏览代码

Generic app name

Bob Mottram 7 年前
父节点
当前提交
08b2b1a795
共有 2 个文件被更改,包括 17 次插入17 次删除
  1. 2
    2
      doc/EN/devguide.org
  2. 15
    15
      website/EN/devguide.html

+ 2
- 2
doc/EN/devguide.org 查看文件

@@ -89,12 +89,12 @@ myappname_variables=(ONION_ONLY
89 89
                      MYAPPNAME_ONION_PORT
90 90
                      MYAPPNAME_DB_PASSWORD)
91 91
 
92
-function logging_on_xmpp {
92
+function logging_on_myappname {
93 93
     echo -n ''
94 94
     # Commands to turn on logging go here
95 95
 }
96 96
 
97
-function logging_off_xmpp {
97
+function logging_off_myappname {
98 98
     echo -n ''
99 99
     # Commands to turn off logging go here
100 100
 }

+ 15
- 15
website/EN/devguide.html 查看文件

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2017-07-01 Sat 20:23 -->
6
+<!-- 2017-07-01 Sat 20:33 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title></title>
@@ -246,17 +246,17 @@ for the JavaScript code in this tag.
246 246
 
247 247
 <center><h1>Developers Guide</h1></center>
248 248
 
249
-<div id="outline-container-orge96e638" class="outline-2">
250
-<h2 id="orge96e638">Introduction</h2>
251
-<div class="outline-text-2" id="text-orge96e638">
249
+<div id="outline-container-orgebff6ef" class="outline-2">
250
+<h2 id="orgebff6ef">Introduction</h2>
251
+<div class="outline-text-2" id="text-orgebff6ef">
252 252
 <p>
253 253
 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.
254 254
 </p>
255 255
 </div>
256 256
 </div>
257
-<div id="outline-container-orgc332597" class="outline-2">
258
-<h2 id="orgc332597">Community Statement</h2>
259
-<div class="outline-text-2" id="text-orgc332597">
257
+<div id="outline-container-org771f3cc" class="outline-2">
258
+<h2 id="org771f3cc">Community Statement</h2>
259
+<div class="outline-text-2" id="text-org771f3cc">
260 260
 <p>
261 261
 This project doesn't require you to take any special pledge of allegiance or subscribe to any guru's list of commandments. It does not care about your gender, race, national flag or political alignment. It is agnostic towards your religion or lack thereof. It doesn't give one hoot as to whether you are young or old, rich or poor, gay, trans, straight or just "other". It does not care if you like your eggs sunny side up or if you are a vegan.
262 262
 </p>
@@ -274,9 +274,9 @@ This project also has a no bullshit policy. Anyone trying to cause a ruckus by t
274 274
 </p>
275 275
 </div>
276 276
 </div>
277
-<div id="outline-container-org97b40ca" class="outline-2">
278
-<h2 id="org97b40ca">Adding extra apps</h2>
279
-<div class="outline-text-2" id="text-org97b40ca">
277
+<div id="outline-container-orgd032712" class="outline-2">
278
+<h2 id="orgd032712">Adding extra apps</h2>
279
+<div class="outline-text-2" id="text-orgd032712">
280 280
 <p>
281 281
 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.
282 282
 </p>
@@ -353,12 +353,12 @@ An example template for an app script is shown below. Copy this and add whatever
353 353
                      MYAPPNAME_ONION_PORT
354 354
                      MYAPPNAME_DB_PASSWORD)
355 355
 
356
-<span class="org-keyword">function</span> <span class="org-function-name">logging_on_xmpp</span> {
356
+<span class="org-keyword">function</span> <span class="org-function-name">logging_on_myappname</span> {
357 357
     <span class="org-builtin">echo</span> -n <span class="org-string">''</span>
358 358
     <span class="org-comment-delimiter"># </span><span class="org-comment">Commands to turn on logging go here</span>
359 359
 }
360 360
 
361
-<span class="org-keyword">function</span> <span class="org-function-name">logging_off_xmpp</span> {
361
+<span class="org-keyword">function</span> <span class="org-function-name">logging_off_myappname</span> {
362 362
     <span class="org-builtin">echo</span> -n <span class="org-string">''</span>
363 363
     <span class="org-comment-delimiter"># </span><span class="org-comment">Commands to turn off logging go here</span>
364 364
 }
@@ -554,9 +554,9 @@ Submit your working app to <b><a href="https://github.com/bashrc/freedombone/iss
554 554
 </div>
555 555
 </div>
556 556
 
557
-<div id="outline-container-org285c2d1" class="outline-2">
558
-<h2 id="org285c2d1">Customising mesh images</h2>
559
-<div class="outline-text-2" id="text-org285c2d1">
557
+<div id="outline-container-org169d9d2" class="outline-2">
558
+<h2 id="org169d9d2">Customising mesh images</h2>
559
+<div class="outline-text-2" id="text-org169d9d2">
560 560
 <p>
561 561
 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 <b>img/backgrounds</b> and to change the available avatars and desktop icons edit the images within <b>img/avatars</b>. Re-create disk images using the instructions shown previously.
562 562
 </p>