Ver código fonte

Generic app name

Bob Mottram 7 anos atrás
pai
commit
08b2b1a795
2 arquivos alterados com 17 adições e 17 exclusões
  1. 2
    2
      doc/EN/devguide.org
  2. 15
    15
      website/EN/devguide.html

+ 2
- 2
doc/EN/devguide.org Ver arquivo

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

+ 15
- 15
website/EN/devguide.html Ver arquivo

3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
 <head>
5
 <head>
6
-<!-- 2017-07-01 Sat 20:23 -->
6
+<!-- 2017-07-01 Sat 20:33 -->
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9
 <title></title>
9
 <title></title>
246
 
246
 
247
 <center><h1>Developers Guide</h1></center>
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
 <p>
252
 <p>
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.
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
 </p>
254
 </p>
255
 </div>
255
 </div>
256
 </div>
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
 <p>
260
 <p>
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.
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
 </p>
262
 </p>
274
 </p>
274
 </p>
275
 </div>
275
 </div>
276
 </div>
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
 <p>
280
 <p>
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.
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
 </p>
282
 </p>
353
                      MYAPPNAME_ONION_PORT
353
                      MYAPPNAME_ONION_PORT
354
                      MYAPPNAME_DB_PASSWORD)
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
     <span class="org-builtin">echo</span> -n <span class="org-string">''</span>
357
     <span class="org-builtin">echo</span> -n <span class="org-string">''</span>
358
     <span class="org-comment-delimiter"># </span><span class="org-comment">Commands to turn on logging go here</span>
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
     <span class="org-builtin">echo</span> -n <span class="org-string">''</span>
362
     <span class="org-builtin">echo</span> -n <span class="org-string">''</span>
363
     <span class="org-comment-delimiter"># </span><span class="org-comment">Commands to turn off logging go here</span>
363
     <span class="org-comment-delimiter"># </span><span class="org-comment">Commands to turn off logging go here</span>
364
 }
364
 }
554
 </div>
554
 </div>
555
 </div>
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
 <p>
560
 <p>
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.
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
 </p>
562
 </p>