User Tools

Site Tools


acq:building_vm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
acq:building_vm [2008/06/23 19:25] – notes on my virtualbox acq image ericksonacq:building_vm [2009/10/23 15:12] – page obsolete jatzberger
Line 1: Line 1:
 +**This page is obsolete.  acq-experiment branch is toast.**
  
 +I built a [[http://www.virtualbox.org/|VirtualBox]] Evergreen image with Acquisitions.  Below is what I did:
 +
 +<code>
 +$ apt-get install xorg xorg-dev build-essential vim linux-headers-`uname -r` subversion
 +$ apt-get install fluxbox # window manager of choice.  fluxbox has low memory requirements
 +</code>
 +# install VirtualBox guest additions and reboot
 +<code>
 +$ apt-get install firefox
 +</code>
 +# install Evergreen acq-experiment branch from wiki, using OpenSRF/trunk and ILS/branches/acq-experiment
 +# add open-ils.acq to the application definitions and list of activeapps in opensrf.xml
 +# disable OCLC Z39 source for now
 +<code>
 +$ easy_install Pylons
 +$ apt-get install python-libxml2 python-libxslt1 python-egenix-mxdatetime dnsmasq
 +</code>
 +# add 127.0.0.1 to /etc/resolv.conf
 +<code>
 +$ apt-get install libapache2-mod-python
 +</code>
 +  * get [[http://open-ils.org/~erickson/wsgi.py|wsgi.py]] and put it in /usr/lib/python2.4/site-packages/mod_python/wsgi.py
 +    * note there is a package manager version of wsgy.py, but it's relatively new and i haven't tested it yet)
 +<code>
 +evergreen=# insert into actor.workstation (name, owning_lib) values ('BR1-demo', 4);
 +evergreen=# insert into permission.usr_work_ou_map (usr, work_ou) values (1,4);
 +$ cd /openils/var/web/oilsweb;
 +$ cp development.ini deployment.ini
 +$ python setup.py develop
 +</code>
 +  * edit deployment.ini:
 +    * uncomment oils_demo_* settings and change demo-admin to admin, and password to open-ils
 +    * change oils_added_content_prefix to use localhost
 +    * add use_mod_python = 1
 +    * uncomment set debug = false
 +  * Add the following to eg_vhost.conf (or Include this file) [[http://open-ils.org/~erickson/ACQ-apache.conf|ACQ Conf]] (Note the PythonPath paths...)
 +  * grab dojo from http://download.dojotoolkit.org/release-1.1.1/dojo-release-1.1.1.tar.gz 
 +    * unpack and put dojo, dijit, and dojox into /openils/var/web/js/dojo/
 +  * Add some bib data (*cough*)
 +  * Go to http://localhost/oils/acq/picklist/list
acq/building_vm.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.