Think of Ryppl as a Git-based package management and testing system designed to accomodate both end-users and developers. Unlike a traditional package manager, which delivers binaries and/or a source snapshot, when ryppl downloads a package, it gives you a clone of a Git repository, with that package's entire development history.
Most contributors are giving their time to this project for free. If you make a donation to Ryppl, it will be used to pay for the time of those who can't afford to be quite so generous. We need their help, and they need to pay the bills, so please consider making a donation. Thanks!
This rest of this document is a getting-started guide for Ryppl developers - the people who will be checking out from this repository and are working on development of the ryppl project.
For emergent user-level HTML documentation, see http://www.ryppl.org
For more detailed developer docs, please see the Ryppl Wiki.
Note
right now you can't get a complete build of the docs under Cygwin because there's no GraphViz binary in the Cygwin repo, and building GraphViz under Cygwin hangs at some point. Cygwin users can use a native Win32 installation of GraphViz, but it will warn you that it can't generate the image because make will be passing it a Cygwin-style path. That's ok if you just care about the HTML parts. Otherwise, just use the windows-native tools as described below.
A front-end path-converting wrapper might work here if someone is really committed to getting a complete doc build under Cygwin.
Get Python 2.x. If your OS doesn't have a builtin package manager that can install Python for you, get it from Python.org.
Install Sphinx. Get it from your OS package manager (usually listed as
python-sphinx
orpy-sphinx
) if you can, and skip to step 5. Otherwise, use setuptools as detailed belowInstall setuptools for installing Python packages. Your package manager may have it, or you may be able to get a prebuilt package from PyPi, but the most universal way is to download ez_setup.py and run it with Python:
% python ez_setup.py
On windows,
easy_install
ed executables don't go in yourPATH
by default, so you'll need to add something likec:\Python26\Scripts
to your path to make the rest of this work.Use setuptools to get Sphinx. The servers were really slow last time I checked; expect this to take a while (add
-v
if you're easily bored).% easy_install sphinx
make sure
sphinx-build
is in your path:% sphinx-build --help
Install GNU Make. If you're on native Windows, to get a compatible GNU Make you should install the MSYS Base System. At the time of this writing, the latest with an executable installer is version 1.0.11. Make sure your PATH includes the path to the make executable:
% make -v
Note
if you're on native windows (or MSYS) and the output ends with the line:
This program built for i686-pc-cygwin
or:
This program built for i386-pc-mingw32
Then you've done something wrong. The platform string should be
i386-pc-msys
.Install GraphViz. Use your native package manager or get it from the GraphViz download page
Now the easy part. To finally build the documentation, enter the
doc/
subdirectory and issue the command:
$ make html
The results will be generated in the build/html/
subdirectory of
this project. If you don't like building in your source tree, you can
change the parent of the generated html/
directory by setting the
make (or environment) variable BUILDDIR
:
$ make BUILDDIR=/tmp/ryppl-build