This repository has been archived on 2025-03-01. You can view files and clone it, but cannot push or open issues or pull requests.
trantor/README.md
2017-09-21 21:19:06 +00:00

1.9 KiB

Imperial Library of Trantor

The Imperial Library of Trantor (also known as Galactic Library) is a repository management system of ebooks on ePub format.

You can check out the main development branch from GitLab at:

https://gitlab.com/trantor/

Dependences

In order to run Trantor, you need to install the following packages:

  • Go language
  • postgresql (>= 9.6)

Yo also need to install go dependences:

go get .

Installation

Create postgres DB

We can create the DB (using the postgres user) and activate pg_trgm extension for it:

$ createdb trantor
$ echo "CREATE EXTENSION pg_trgm;"|psql trantor

For admins ("for developers" below)

Now you can install Trantor itself:

# go get gitlab.com/trantor/trantor

You can run it (using /var/lib/trantor for storage):

# $GOPATH/bin/trantor -assets $GOPATH/src/pkg/gitlab.com/trantor/trantor/ -store /var/lib/trantor

Go to your browser to: http://localhost:8080

For developers

Now you can compile Trantor:

$ go build

Now you can run it:

$ ./trantor

Go to your browser to: http://localhost:8080

Bugs

Please, report bugs in the gitlab issue tracker:
https://gitlab.com/trantor/trantor/issues

Rights

All the matterial of this project is under WTFPL as described on the LICENSE file with the exception of: