diff options
Diffstat (limited to 'content/forge/setup.md')
-rw-r--r-- | content/forge/setup.md | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/content/forge/setup.md b/content/forge/setup.md index 37be79c..d2686a1 100644 --- a/content/forge/setup.md +++ b/content/forge/setup.md @@ -2,27 +2,41 @@ title: Setup --- +## System requirements + +We currently only support Linux and FreeBSD. Support for other UNIX-like +operating systems may be added in the future, but we do not have any plans to +support Windows. + ## Build dependencies * Git * GNU Make * C compiler * Recent Go toolchain +* [libgit2](https://libgit2.org) +* A recent [mandoc](https://mandoc.bsd.lv) + (we recommend using the latest CVS checkout) -## Build and install - -Clone the source code and run `make`. +## Build -Then run `make install` to install it. By default, it installs to `/usr/local/`. +Clone the source code and run `gmake`. Note that setting `GOARCH` to cross compile does not completely work, since the -hooks handler is written in C. You need to customize `CC` to point to a proper -cross compiler. +hooks handler and Git RPC daemon is written in C. You need to customize `CC` to +point to a proper cross compiler. + +## Install + +We don't provide an `install` target yet, so just copy the files to reasonable +locations. ## Runtime dependencies * Git * PostgreSQL 14 or later +* [libgit2](https://libgit2.org) +* A runtime copy of your C library, if you are not statically linking ## Configuration |