georgizk / ims-release

Imangascans release manager
MIT License
2 stars 0 forks source link

ims-release

The Imangascans manga release API.

Its core features are:

Upcoming features including:

Usage

go get
go install
$GOBIN/ims-release config.json

Setup

Golang

  1. Install Go version 1.6.3 or later
  2. Set the GOPATH environment variable
  3. Set the GOBIN environment variable to $GOPATH/bin
  4. Place ims-release inside $GOPATH/src

Example:

export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
mkdir -p $GOBIN
mkdir -p $GOPATH/src
cd $GOPATH/src
git clone https://github.com/georgizk/ims-release.git
cd ims-release
go get
go install

MySQL

  1. Install MySQL or MariaDB server
  2. Start the MySQL server
  3. Create and configure a new database

Example:

mysql -u root -p # This will bring you to the mysql prompt, prefixed by "mysql>"
mysql> create database ims_release;
mysql> grant all privileges on ims_release.* to 'ims'@'localhost' identified by 'password1';
mysql> set global sql_mode = 'NO_ENGINE_SUBSTITUTION';

Configuration

Configuration is done via a json config file. It must contain the following fields:

Refer to config.json.example.