acq:building_vm
This page is obsolete. acq-experiment branch is toast.
I built a VirtualBox Evergreen image with Acquisitions. Below is what I did:
$ 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
# install VirtualBox guest additions and reboot
$ apt-get install firefox
# 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
$ easy_install Pylons $ apt-get install python-libxml2 python-libxslt1 python-egenix-mxdatetime dnsmasq
# add 127.0.0.1 to /etc/resolv.conf
$ apt-get install libapache2-mod-python
- get 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)
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
- 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) ACQ Conf (Note the PythonPath paths…)
-
- unpack and put dojo, dijit, and dojox into /openils/var/web/js/dojo/
- Add some bib data (*cough*)
acq/building_vm.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1