This shows you the differences between two versions of the page.
|
dev:quick-start_introduction_and_virtual_image [2012/03/08 23:40] dbs created |
dev:quick-start_introduction_and_virtual_image [2013/04/16 08:30] (current) mrpeters |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Getting started with Evergreen development ====== | ====== 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. | 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. | ||
| Line 7: | Line 9: | ||
| We have also documented the [[:contributing|norms and processes for contributing to the Evergreen project]] to help you settle into our community. | 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. | + | 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 2013-04-15. **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. | 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. | ||
| Line 30: | Line 42: | ||
| chown -R opensrf:opensrf /openils | chown -R opensrf:opensrf /openils | ||
| - | Upgrade the Database (as postgres) | + | 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 | cd /home/opensrf/Evergreen/Open-ILS/src/sql/Pg && /home/opensrf/Evergreen/build/tools/update_db.sh localhost evergreen evergreen | ||