taoky / Yuki

A.K.A ustcmirror, sync local repos with remote.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Build Status Go Report

Sync local repositories with remote.

Requirements

  • Docker
  • MongoDB

Quickstart

Download the binary from the Release page, for example:

$ wget https://github.com/ustclug/Yuki/releases/download/v0.2.2/yuki-v0.2.2-linux-amd64.tar.gz

Configure yukid:

# mkdir /etc/yuki/
# chown mirror:mirror /etc/yuki
$ curl 'https://raw.githubusercontent.com/ustclug/Yuki/master/dist/daemon.toml' > /etc/yuki/daemon.toml
$ vim /etc/yuki/daemon.toml

Run MongoDB:

$ docker run -p 27017:27017 -tid --name mongo mongo:3.6

Create systemd service:

# curl 'https://raw.githubusercontent.com/ustclug/Yuki/master/dist/yukid.service' > /etc/systemd/system/yukid.service

Start yukid:

# systemctl enable yukid
# systemctl start yukid

Handbook

About

A.K.A ustcmirror, sync local repos with remote.

License:GNU General Public License v2.0


Languages

Language:Go 99.1%Language:Shell 0.9%