A.K.A ustcmirror, sync local repos with remote.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
auth
ci
cmd/yukid
common
core
cron
dist
events
fs
server
tail
.gitignore
.travis.yml
Gopkg.lock
Gopkg.toml
LICENSE
README.md

README.md

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/knight42/Yuki/releases/download/v0.1.0/yukid-v0.1.0-linux-amd64.tar.gz

Configure yukid:

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

Run MongoDB:

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

Create systemd service:

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

Start yukid:

# systemctl enable yukid
# systemctl start yukid

CLI

Yuki-cli