User Tools

Site Tools


dev:quick-start_introduction_and_virtual_image

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:quick-start_introduction_and_virtual_image [2013/04/16 06:22] – Note, page needs updating bshumdev:quick-start_introduction_and_virtual_image [2015/02/10 09:37] (current) – removed klussier
Line 1: Line 1:
-====== Getting started with Evergreen development ====== 
- 
-**NOTE: This page is still being updated and the instructions are no longer working as of 2013-04-16 (master has changed quite a bit). Please follow the existing README for the [[http://evergreen-ils.org/downloads.php|Download area]] and install OpenSRF/Evergreen from scratch on Ubuntu 12.04 Server or Debian 6.** 
- 
-Evergreen is built on the OpenSRF application framework. If you're interested in implementing new services in Evergreen, or in calling Evergreen APIs (and who wouldn't be?!), you should probably start by reading through the [[http://journal.code4lib.org/articles/3284|Easing Gently into OpenSRF]] article to get an overview of how OpenSRF works. 
- 
-You should also work through this [[http://evergreen-ils.org/~denials/workshop.html|tutorial that focuses on getting up and developing with Evergreen]]. 
- 
-We have also documented the [[:contributing|norms and processes for contributing to the Evergreen project]] to help you settle into our community. 
- 
-To enable you to get hands-on with the code as quickly as possible, the **developer virtual image** available from [[http://evergreen-ils.org/downloads/vm/EvergreenMasterSqueeze.ova]] is current with OpenSRF and Evergreen Master as of 2012-02-10.  **NOTICE:** If you are using this virtual machine, there are a small configuration steps needed. 
-  - Enable listening on https (port 443) 
-    - (as root) Open /etc/apache2/ports.conf in your favorite editor, then uncomment the first "Listen 443" line 
-    - (as root) Restart Apache 
-  - If using the pre-built client, set it as a supported version 
-    - <code>(as opensrf) 
-cd /openils/var/web/xul 
-ln -s master02102012/ 0master_b324da2</code> 
-    - To then start the client 
-      - Click on the launcher menu (lower-left corner) and choose "Run" 
-      - Command to run: xulrunner-1.9.1 /home/opensrf/Evergreen/Open-ILS/xul/staff_client/build/application.ini 
- 
-The developer virtual image has a checkout of both OpenSRF and Evergreen's Git repositories, found in the opensrf user's home directory.  Detailed instructions for installing are available via each project's README file, or via the example below. 
- 
-<code bash>Grab the updated code from Git (as opensrf) 
-cd /home/opensrf/Evergreen && git pull 
- 
-Upgrade dependencies (as root) 
-cd /home/opensrf/Evergreen && make -f Open-ILS/src/extras/Makefile.install  
- 
-Compile the code (ss opensrf) 
-cd /home/opensrf/Evergreen && ./configure --prefix=/openils --sysconfdir=/openils/conf 
-make 
- 
-Install the updated code (as root) 
-cd /home/opensrf/Evergreen && make STAFF_CLIENT_STAMP_ID=SomeStamp install 
-cd /openils/var/web/xul 
-rm server 
-ln -sf SomeStamp/server server 
- 
-Change ownership of /openils (as root) 
-chown -R opensrf:opensrf /openils 
- 
-Upgrade the Database (as opensrf) 
-cd /home/opensrf/Evergreen/Open-ILS/src/sql/Pg && /home/opensrf/Evergreen/build/tools/update_db.sh localhost evergreen evergreen 
- 
-Restart Evergreen Services 
-osrf_ctl.sh -l -a restart_all</code> 
  
dev/quick-start_introduction_and_virtual_image.1366107761.txt.gz · Last modified: 2022/02/10 13:34 (external edit)

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.