There are several prerequisites to the construction of a GENESIS development environment. These include:
Note: Compiling from source will only produce executables and libraries for the host architecture. For example if you have a 64-bit system and 32-bit Perl, the compiled SWIG libraries will not load, giving an error citing ”wrong architecture.” So when compiling on a machine make sure that Perl, Python and all of their loadable modules and libraries are of the same architecture as the host machine.
Source code for GENESIS can be found at: GENESIS package archive.
The easiest way to get the latest version of the GENESIS source code is via the DeveloperPackage.
Once you have software dependencies like monotone installed you must set up some things on your machine in order to use the Developer Package.
In order to use monotone the user needs to create their monotone key using the command:
mtn genkey email@example.com
The email you use does not need to be a valid email address, it is simply an identifier that other developers using the repository will use to associate with your checkins. Even if you are not going to be checking in any code you still need a key to create and update your workspace. After entering the command it will prompt you for a passphrase, that will be used as a password whenever you perform any operations on the repository. After creating your key with your desired email identifier you will have a new directory in your home directory called .monotone. To keep from having to enter your passphrase every time you perform any monotone operation, you may automate it by creating a file in .monotone called monotonerc. In your monotonerc file place this code:
where the text mypassword is your passphrase, that you created earlier.
Download the latest version of the DeveloperPackage, available from the GENESIS package archive. It is called developer-release-label.tar.gz, where release-label is the current release identifier. (Note: If downloading via your browser, do not unpack the package during the download as it will be placed into its own subdirectory).
Following manual installation of the DeveloperPackage, the generalized scheme to download and install the available GENESIS Components is via the following commands:
A GENESIS 3 developer keeps developer resources in the directory
In this directory we find a subdirectory for each of the software components currently under development.
Besides the directories associated with software components, we also find directories for local documentation ($HOME/neurospaces_project/docs) and for source code repositories for the version control systems that require a dedicated directory for this. $HOME/neurospaces_project/_MTN is such a directory.
A personal text file TODO.txt keeps track of items that wait local implementation, but maybe are only indirectly related to GENESIS 3 development. This file is commonly formatted according to the Emacs outline major mode. The Emacs outline mode can be converted to latex and HTML when needed.