Development environment

From Archivematica
Revision as of 14:36, 3 December 2010 by Austin (talk | contribs)
Jump to navigation Jump to search

Main Page > Development > Development Environment

This page explains how you can configure an Ubuntu system to use as a basic Archivematica development environment.

  • Use Subversion to checkout Archivematica code
    • If you have commit access, use the private repository
    • If you have read-only access, use the public GoogleCode repository
svn checkout http://archivematica.googlecode.com/svn/trunk/ archivematica


  • Run localDevSetup scripts.
    • ./installLocalDevRequirements.sh
    • ./createArchivematicaUserAndGroupForLocalDev.sh
    • ./createLocalDevDirectories.sh
    • This will create links in your local Ubuntu environment back to the relevant Archivematica scripts in your SVN checkout, allowing you to run a local Archivematica version which can continue to pull down revision updates from the code repository
    • If you have commit access, you can work on the files in the checkout directory, make changes and commit those back to SVN repository, while also running Archivematica locally to test your changes and commits from other developers.
  • Additional local environment configuration
    • ...
    • ...
  • Start Archivematica MCP Server & Client
    • Open a seperate terminal for each and type:
...
...
  • Start unoconv service (for Open Document format transcoding)
    • ...
  • To start processing a SIP:
    • Open Thunar file manager
    • if using sample files, 'copy' the SIP directory
    • 'cut' the SIP directory and paste into the AcquireSIP directory
    • Open the Firefox browser and type 'localhost' as the address to view SIP processing progress via the Dashboard
      • note: until polling is enables, you will have to hit the browser refresh button to get latest Dashboard updates
  • Troubleshooting: If a SIP processing fails, it will move it to the 'failed' directory which is located:
    • ...
  • Troubleshooting: if Archivematica freezes (kill command)
...
  • Troubleshooting: Updates to the Dashboard might require an Apache webserver restart:

...