Debian Codegraph @

doc.go

raw
1 // Copyright (c) 2014-2019 Ludovic Fauvet
2 // Licensed under the MIT license
3
4 // Mirrorbits is a geographic download redirector for distributing files efficiently across a set of mirrors.
5 //
6 // Prerequisites
7 //
8 // Before diving into the install section ensures you have:
9 // - Redis 2.8.12 (or later)
10 // - libgeoip
11 // - a recent geoip database (see contrib/geoip/)
12 //
13 // Installation
14 //
15 // You can now proceed to the installation by downloading a prebuilt release on
16 // https://github.com/etix/mirrorbits/releases or by building it yourself:
17 // go get github.com/etix/mirrorbits
18 // go install -v github.com/etix/mirrorbits
19 // If you plan to use the web UI be sure to install the templates found on
20 // https://github.com/etix/mirrorbits/tree/master/templates into your system (usually in /usr/share/mirrorbits).
21 //
22 // Configuration
23 //
24 // A sample configuration file can be found in the git repository:
25 // https://github.com/etix/mirrorbits/blob/master/mirrorbits.conf
26 //
27 // Running
28 //
29 // Mirrorbits is a self-contained application and is, at the same time, the server and the cli.
30 //
31 // To run the server:
32 // mirrorbits -D
33 // To run the cli:
34 // mirrorbits help
35 //
36 // Upgrading
37 //
38 // Mirrorbits has a mode called seamless binary upgrade to upgrade the server executable at runtime
39 // without service disruption. Once the binary has been replaced just issue the following
40 // command in the cli:
41 // mirrorbits upgrade
42 //
43 // For more information visit the official page:
44 // https://github.com/etix/mirrorbits/
45 package main