How to build a development environment from source control
This article explains the various ways you can build a development environment for EPrints source contributions. If you have a method not listed here then please add it. Instructions assume familiarity with EPrints and the command line. You can use repositories built in this way to test contributions to EPrints source before pushing them to the git remote.
If you find bugs with any of these instructions please update them
Contents
Ubuntu 14.04
Take a clean ubuntu 14.04 build
sudo su apt-get install git echo "deb http://deb.eprints.org/ nightly/ deb-src http://deb.eprints.org/ source/" > /etc/apt/sources.list.d/eprints.nightly.list apt-get update apt-get build-dep eprints ln -s /home/<yourusername>/eprints /usr/share/eprints3 su <yourusername> cd ~ git clone git@github.com:eprints/eprints.git echo "package EPrints::SystemSettings; \$EPrints::SystemSettings::conf = { 'base_path' => '/usr/share/eprints3', 'version_id' => 'git', 'version' => 'EPrints (development version)', 'user' => '$USER', 'group' => '$USER', 'smtp_server' => 'smtp', }; 1;"
CentOs
- If using Vagrant, see https://github.com/eprintsug/eprints-vagrant
User-space EPrints (when EPrints is already installed on the VM)
See: https://github.com/eprints/apache_rhel