This document should help to maintain the Siduction manual.
| Directory | Description |
| admin | Django stuff |
| bin | Script(s), see /usr/bin |
| config | I18N for the dialog pages and the common parts of the static pages (template) |
| debian | Debian package stuff |
| doc | Maintenance documentation |
| etc | Package configuration: embedding into pywwetha... |
| icons | Logo |
| sidu-manual | The central Django definitions) |
| templates | The common part of pages |
| website | The site specific code (a Django application) |
| website/static | The support files of the site |
| website/static/$foo | The support files of the site: CSS, JavaScript, pictures, icons... |
| website/static/<language> |
|
Note: You must get the sources of sidu-base too! Otherwise some some things will fail, e.g. the build of the configuration database.
cd <parent_directory_of_the_source>
git clone git3@git.siduction.org:code/sidu-base
git clone git3@git.siduction.org:code/sidu-manual
SIDU_MANUAL_HOME=$(pwd)/sidu-manual
echo >>~/.bashrc "export SIDU_MANUAL_HOME=$SIDU_MANUAL_HOME"
# Install the package if not done:
test -x /usr/bin/sidu-manual-control || sudo apt-get install sidu-manual
# Prepare pywwetha to show the development sources:
sudo perl -pi -e "s%/usr/share/sidu-manual%$SIDU_MANUAL_HOME%" /etc/pywwetha/sidu-manual.conf
Alternative package download.
| Changes | To Do |
| *.htm file changed | Reload the page in your browser (F5) |
| config/*.conf changed |
|
| template/pageframe.html file changed | Reload the page in your browser (F5) |
<div id="main-page"> should be changed<div id="main-page"> should be changedNote: Each page must be anchored at least one time in the menu.
If the page is large more than one entry can be put into the menu, e.g. a link to each main head line.
Task: The entry should be extended by a link to the headline "Tips and Tricks"
| Tool | Description |
| sidu-manual-control <command> | Commands: start | stop
|
| import_config.sh | Puts the files config/*.conf into the SqLite database config.db |
| pywwetha-control <command> | Controls the webserver. Commands: start | restart | status | stop |