...
Panel | |
---|---|
The Moonshot source code is available from our GIT repository and it all can be built by hand relatively easier, assuming you have all of the prerequisite packages installed. This page has instructions for getting those packages and building the software itself.
Contents
|
Numbered Headings | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
System PreparationRequirementsTo build all of the Moonshot components, you need various packages installed. To install all of these, see below. Get the required packages on Debian78To get all of the requirements on Debian 7 8 (WheezyJessie), you will need to add the Wheezy-backports repository, and issue a couple of apt-get install commands:
Checkout the Moonshot sourceThe Moonshot source code is all stored in a GIT repository. To fetch it, issue the following command.
Build MoonshotTo build Moonshot, simply enter the moonshot directory of the git repo that you just checked out, and run the builder script. In the --prefix option, you can specify where the code will be installed to. Note that you will need to build as a user who has permission to install in the target directory, because the builder script installs during the build, instead of doing an install after the build has finished (so you can't build first as an underprivileged user and install as a superuser as you would normally do).
You probably know this, but if you stuck your installation into an unusual location, you may need to do the following (as root) - where, here, /opt/moonshot is the install path you used for the prefix option above:
(TODO: document /etc/init.d/ stuff?) |