Generic app name

This commit is contained in:
Bob Mottram 2017-07-01 20:34:12 +01:00
parent 7479e08e1c
commit 08b2b1a795
2 changed files with 17 additions and 17 deletions

View File

@ -89,12 +89,12 @@ myappname_variables=(ONION_ONLY
MYAPPNAME_ONION_PORT
MYAPPNAME_DB_PASSWORD)
function logging_on_xmpp {
function logging_on_myappname {
echo -n ''
# Commands to turn on logging go here
}
function logging_off_xmpp {
function logging_off_myappname {
echo -n ''
# Commands to turn off logging go here
}

View File

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2017-07-01 Sat 20:23 -->
<!-- 2017-07-01 Sat 20:33 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title></title>
@ -246,17 +246,17 @@ for the JavaScript code in this tag.
<center><h1>Developers Guide</h1></center>
<div id="outline-container-orge96e638" class="outline-2">
<h2 id="orge96e638">Introduction</h2>
<div class="outline-text-2" id="text-orge96e638">
<div id="outline-container-orgebff6ef" class="outline-2">
<h2 id="orgebff6ef">Introduction</h2>
<div class="outline-text-2" id="text-orgebff6ef">
<p>
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.
</p>
</div>
</div>
<div id="outline-container-orgc332597" class="outline-2">
<h2 id="orgc332597">Community Statement</h2>
<div class="outline-text-2" id="text-orgc332597">
<div id="outline-container-org771f3cc" class="outline-2">
<h2 id="org771f3cc">Community Statement</h2>
<div class="outline-text-2" id="text-org771f3cc">
<p>
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.
</p>
@ -274,9 +274,9 @@ This project also has a no bullshit policy. Anyone trying to cause a ruckus by t
</p>
</div>
</div>
<div id="outline-container-org97b40ca" class="outline-2">
<h2 id="org97b40ca">Adding extra apps</h2>
<div class="outline-text-2" id="text-org97b40ca">
<div id="outline-container-orgd032712" class="outline-2">
<h2 id="orgd032712">Adding extra apps</h2>
<div class="outline-text-2" id="text-orgd032712">
<p>
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.
</p>
@ -353,12 +353,12 @@ An example template for an app script is shown below. Copy this and add whatever
MYAPPNAME_ONION_PORT
MYAPPNAME_DB_PASSWORD)
<span class="org-keyword">function</span> <span class="org-function-name">logging_on_xmpp</span> {
<span class="org-keyword">function</span> <span class="org-function-name">logging_on_myappname</span> {
<span class="org-builtin">echo</span> -n <span class="org-string">''</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Commands to turn on logging go here</span>
}
<span class="org-keyword">function</span> <span class="org-function-name">logging_off_xmpp</span> {
<span class="org-keyword">function</span> <span class="org-function-name">logging_off_myappname</span> {
<span class="org-builtin">echo</span> -n <span class="org-string">''</span>
<span class="org-comment-delimiter"># </span><span class="org-comment">Commands to turn off logging go here</span>
}
@ -554,9 +554,9 @@ Submit your working app to <b><a href="https://github.com/bashrc/freedombone/iss
</div>
</div>
<div id="outline-container-org285c2d1" class="outline-2">
<h2 id="org285c2d1">Customising mesh images</h2>
<div class="outline-text-2" id="text-org285c2d1">
<div id="outline-container-org169d9d2" class="outline-2">
<h2 id="org169d9d2">Customising mesh images</h2>
<div class="outline-text-2" id="text-org169d9d2">
<p>
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.
</p>