|
Revision 1509, 1.4 kB
(checked in by whit, 5 months ago)
|
|
adding list of required binaries not included in build
|
| Line | |
|---|
| 1 | =========================== |
|---|
| 2 | Comunity Almanac Buildout |
|---|
| 3 | =========================== |
|---|
| 4 | |
|---|
| 5 | Install directions |
|---|
| 6 | ================== |
|---|
| 7 | |
|---|
| 8 | Requirments |
|---|
| 9 | ----------- |
|---|
| 10 | |
|---|
| 11 | * PCRE |
|---|
| 12 | |
|---|
| 13 | * OpenSSL |
|---|
| 14 | |
|---|
| 15 | * LibGeos (maybe) |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | Recommended |
|---|
| 19 | ----------- |
|---|
| 20 | |
|---|
| 21 | Checkout or unpack the build package into a activate virtualenv or |
|---|
| 22 | other sandbox. |
|---|
| 23 | |
|---|
| 24 | $ cd AlmanacStack; bootstrap.py |
|---|
| 25 | $ bin/buildout |
|---|
| 26 | $ bin/supervisord -c etc/supervisor.conf |
|---|
| 27 | |
|---|
| 28 | After Install |
|---|
| 29 | ============= |
|---|
| 30 | |
|---|
| 31 | To view logs and manage processes |
|---|
| 32 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|---|
| 33 | |
|---|
| 34 | Supervisor prompt:: |
|---|
| 35 | |
|---|
| 36 | $ bin/supervisorctl |
|---|
| 37 | |
|---|
| 38 | Restart all servers:: |
|---|
| 39 | |
|---|
| 40 | $ bin/supervisorctl restart all |
|---|
| 41 | |
|---|
| 42 | Stop just zope:: |
|---|
| 43 | |
|---|
| 44 | $ bin/supervisorctl stop grok |
|---|
| 45 | |
|---|
| 46 | Shutdown all processes and supervisord:: |
|---|
| 47 | |
|---|
| 48 | $ bin/supervisorctl shutdown |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | To view site:: |
|---|
| 52 | ~~~~~~~~~~~~~~ |
|---|
| 53 | |
|---|
| 54 | point your browser at:: |
|---|
| 55 | |
|---|
| 56 | http://localhost:8181/ |
|---|
| 57 | |
|---|
| 58 | This will prompt you for the admin password (set in grok.cfg). Then |
|---|
| 59 | you may add an almanac application. |
|---|
| 60 | |
|---|
| 61 | |
|---|
| 62 | REST interfaces |
|---|
| 63 | ~~~~~~~~~~~~~~~ |
|---|
| 64 | |
|---|
| 65 | Currently, the atom publishing protocol interface is available from:: |
|---|
| 66 | |
|---|
| 67 | http://localhost:8181/app/{app name}/ |
|---|
| 68 | |
|---|
| 69 | |
|---|
| 70 | Running Tests |
|---|
| 71 | ============= |
|---|
| 72 | |
|---|
| 73 | all:: |
|---|
| 74 | |
|---|
| 75 | $ bin/test |
|---|
| 76 | |
|---|
| 77 | only almanac (occasionally other modules will also be on the app):: |
|---|
| 78 | |
|---|
| 79 | $ bin/test -s opengeo.almanac |
|---|
| 80 | |
|---|
| 81 | only a module's tests in almanac:: |
|---|
| 82 | |
|---|
| 83 | $ bin/test --tests-pattern='.+' -m opengeo.almanac.vocabulary |
|---|
| 84 | |
|---|
| 85 | only functional tests:: |
|---|
| 86 | |
|---|
| 87 | $ bin/test -f |
|---|
| 88 | |
|---|
| 89 | only unit tests:: |
|---|
| 90 | |
|---|
| 91 | $ bin/test -u |
|---|
| 92 | |
|---|
| 93 | get help on other options:: |
|---|
| 94 | |
|---|
| 95 | $ bin/test --help |
|---|