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

87 lines
2.3 KiB
Text
Raw Normal View History

2012-10-13 01:33:32 +02:00
Imperial Library of Trantor
The Imperial Library of Trantor (also known as Galactic Library) is a repository management system of ebooks on ePub format.
2015-04-21 21:32:01 -04:00
You can check out the main development branch from GitLab at:
2012-10-13 01:33:32 +02:00
2015-04-21 21:32:01 -04:00
https://gitlab.com/trantor/
2012-10-13 01:33:32 +02:00
(We still in pre-beta fase)
== Dependences ==
In order to run Trantor, you need to install the following packages:
* Go language
2014-10-26 12:12:27 -06:00
* Mongodb (>= 2.6)
2012-10-13 01:33:32 +02:00
* Bazaar
2014-02-18 19:05:48 +01:00
* Git
2012-10-13 01:33:32 +02:00
Under Debian Wheezy you can simply run:
2013-04-12 01:07:40 +02:00
# aptitude install golang-go git mercurial bzr mongodb
2012-10-13 01:33:32 +02:00
Yo also need to install go dependences:
2014-08-18 19:27:53 -05:00
# go get gopkg.in/mgo.v2 gopkg.in/mgo.v2/bson github.com/gorilla/sessions \
github.com/gorilla/securecookie github.com/gorilla/mux \
2014-06-29 22:49:50 -05:00
github.com/nfnt/resize github.com/cihub/seelog \
2015-01-22 23:02:00 -06:00
code.google.com/p/go.crypto/scrypt \
github.com/rainycape/cld2
2012-10-13 01:33:32 +02:00
== Installation ==
=== For admins ("for developers" below) ===
Now you can install Trantor itself:
# go get gitlab.com/trantor/trantor
2012-10-13 01:33:32 +02:00
You can run trantor in /srv/www/trantor i.e. For this:
# mkdir -p /srv/www/trantor
# cd /srv/www/trantor
2015-04-21 21:32:01 -04:00
# ln -s $GOPATH/src/pkg/gitlab.com/trantor/trantor/templates/ templates
# ln -s $GOPATH/src/pkg/gitlab.com/trantor/trantor/css/ css
# ln -s $GOPATH/src/pkg/gitlab.com/trantor/trantor/js/ js
# ln -s $GOPATH/src/pkg/gitlab.com/trantor/trantor/img/ img
2012-10-13 01:33:32 +02:00
Now you can run it:
2015-04-21 21:32:01 -04:00
# $GOPATH/bin/trantor
2012-10-13 01:33:32 +02:00
Go to your browser to: http://localhost:8080
=== For developers ===
2015-04-21 21:32:01 -04:00
Edit config.go if you want to change the port and other configuration, by default is 8080
2012-10-13 01:33:32 +02:00
Now you can compile Trantor:
$ go build
2012-10-13 01:33:32 +02:00
Now you can run it:
2015-04-21 21:32:01 -04:00
$ ./trantor
2012-10-13 01:33:32 +02:00
Go to your browser to: http://localhost:8080
== Bugs ==
2015-04-21 21:32:01 -04:00
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:
- css/bootstrap.min.css css/bootstra-responsive.min.css js/bootstrap.min.js
img/glyphicons-halflings-white.png img/glyphicons-halflings.png
From the bootstrap framework: http://twitter.github.com/bootstrap/
- js/jquery.js
From jquery library: http://jquery.com/
2013-05-05 01:39:28 +02:00
- js/Chart.min.js
From chart.js library: http://www.chartjs.org/
- img/bright_squares.png
From subtlepatterns: http://subtlepatterns.com/bright-squares/
2012-12-18 15:55:30 +01:00
- css/FredokaOne.ttf css/PTSerif.ttf
From Google Web Fonts: http://www.google.com/webfonts