To install Decapod 0.5, you will need to satisfy the following requirements:
- Ubuntu 10.04 (32 bit or 64 bit)
- Firefox 12 or later
- Decapod application (including OCRopus and Fluid Infusion elements)
- A display capable of 1280x1024 pixels.
You will need Mercurial to access the Decapod code repository. You can install Mercurial by running
sudo apt-get install mercurial
For Mercurial v1.7.4+ you may need to set the hostfingerprints (example)
In a terminal, run the following:
hg clone https://decapod.googlecode.com/hg/ -r decapod-0.5 decapod-0.5
The above commands will retrieve the 0.5 release of the Decapod source code.
Note: the Decapod 0.5 tag may not appear in the cloned source (see: http://mercurial.selenic.com/wiki/Tag)
To Run Decapod for the First Time
Assuming your current directory is
./decapod-0.5/, enter the following in a terminal:
Once the server is running, open a web browser sessions using the following URL: http://localhost:8080/
"<Some file> not found." Error
Try running through the installation steps again as shown above.
"./library/book/images... Permission denied" Error when running Decapod 0.5 server
You may need to change the permissions on the decapod-server/book directory. Alternatively, you can try running Decapod using
sudo python ./decapod.py
If you start the server using sudo, you will always have to run it with sudo, as the permissions of the created directories will be restricted by it.