HowTo BuildTheWebsite

Important Update

Maemo will migrate to Midgard, see http://test.maemo.org.

MoinMoinWiki Macro: TableOfContents

Introduction

This document explains/lists the necessary steps to build the maemo.org website content (except the planet and wiki pages) from sources
available from the: https://stage.maemo.org/svn/website/trunk/ subversion repository.

These instructions were tested with revision 51 of the web site source tree.

Hardware Requirements

There are no special needs considering the hardware. Almost any x86 PC, with d 300 MB hard disk space should be suitable.

Software Requirements

Any Linux distribution

/!\ NOTE!

In case the following softwares are already installed then please check and change the build script according to your environment.
These instructions were tested on a 'Debian testing' powered PC.

Java Runtime Environment (JRE) 5.0

Requires: 87 MB disk space.

Self extracting JRE image can be obtained from http://java.sun.com.

  • cd /opt

  • Start the self-extracting image in /opt

/!\ NOTE!

This location can be of course different, but then the build script should be changed accordingly.

  • ln -s jre1.5.0_06 jre

Apache Forrest 0.6

Requires: 37 MB disk space.

/!\ NOTE!

Newer versions of Forrest may not work out of the box. Comments on using v0.7 for the build would be appreciated.

  • This set of patches allows you to use Forrest v0.7. The content compiles at least, see the output of Forrest for build issues that needs more fixing.

Website sources

Requires: 39 MB disk space.

Rebuilding the site

Requires: 60 MB disk space.

  • cd /tmp/maemo/scripts

  • ./build.sh

/!\ NOTE!

If you would like to build the site in a different location, other than /tmp/maemo then change the build script accordingly. Set ROOTDIR in build.sh to the proper directory.

Checking the result

Start your preferred web browser and open the following location:

/tmp/maemo/build/site/index.html

Comments, questions

Please contact me.

CategoryHowToMisc