Help us shape the future of Go! Take the 2026 Go Developer Survey

Yuki

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2018 License: GPL-2.0

README

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

Directories

Path Synopsis
cmd
yukid command
Package common provides some helper functions.
Package common provides some helper functions.
Package cron provides some cron utility functions.
Package cron provides some cron utility functions.
Package events implements functions for listening or emitting events.
Package events implements functions for listening or emitting events.
Package fs implements function for getting the size of a given directory.
Package fs implements function for getting the size of a given directory.
Package tail provides support for outputing the last N lines of a ReadSeeker.
Package tail provides support for outputing the last N lines of a ReadSeeker.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL