Move to gitlab
This commit is contained in:
parent
a1ef113ced
commit
08ccdaf27d
18 changed files with 35 additions and 53 deletions
42
README
42
README
|
@ -2,9 +2,9 @@ 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 Gitorious at:
|
||||
You can check out the main development branch from GitLab at:
|
||||
|
||||
https://gitorious.org/trantor/
|
||||
https://gitlab.com/trantor/
|
||||
|
||||
(We still in pre-beta fase)
|
||||
|
||||
|
@ -34,7 +34,7 @@ Yo also need to install go dependences:
|
|||
|
||||
Now you can install Trantor itself:
|
||||
|
||||
# go get -tags prod git.gitorious.org/trantor/trantor.git
|
||||
# go get -tags prod gitlab.com/trantor/trantor
|
||||
|
||||
You can run trantor in /srv/www/trantor i.e. For this:
|
||||
|
||||
|
@ -42,51 +42,33 @@ You can run trantor in /srv/www/trantor i.e. For this:
|
|||
|
||||
# cd /srv/www/trantor
|
||||
|
||||
# ln -s /usr/lib/go/src/pkg/git.gitorious.org/trantor/trantor.git/templates/ templates
|
||||
# ln -s /usr/lib/go/src/pkg/git.gitorious.org/trantor/trantor.git/css/ css
|
||||
# ln -s /usr/lib/go/src/pkg/git.gitorious.org/trantor/trantor.git/js/ js
|
||||
# ln -s /usr/lib/go/src/pkg/git.gitorious.org/trantor/trantor.git/img/ img
|
||||
# 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
|
||||
|
||||
Now you can run it:
|
||||
# /usr/lib/go/bin/trantor.git
|
||||
# $GOPATH/bin/trantor
|
||||
|
||||
Go to your browser to: http://localhost:8080
|
||||
|
||||
=== For developers ===
|
||||
|
||||
Login to gitorius: https://gitorious.org/login
|
||||
and clone your own Trantor: https://gitorious.org/trantor/trantor/clone
|
||||
|
||||
In your shell
|
||||
$ git clone git://gitorious.org/~yourname/trantor/yournames-trantor.git
|
||||
$ cd yournames-trantor
|
||||
|
||||
You can edit config.go if you want to change the port and other configuration, by default is 8080
|
||||
Edit config.go if you want to change the port and other configuration, by default is 8080
|
||||
|
||||
Now you can compile Trantor:
|
||||
$ go build -tags prod
|
||||
(remove '-tags prod' for a faster compilation without language guessing)
|
||||
|
||||
Now you can run it:
|
||||
$ ./yourname-trantor
|
||||
$ ./trantor
|
||||
|
||||
Go to your browser to: http://localhost:8080
|
||||
|
||||
== Bugs ==
|
||||
|
||||
Please, report bugs to zenow@tormail.org
|
||||
|
||||
== Patches ==
|
||||
Make your enhacements and sent it by git:
|
||||
|
||||
$ git commit -m "comment"
|
||||
$ git remote set-url --push origin git@gitorious.org:~yournames/trantor/alfinals-trantor.git
|
||||
$ git push origin master
|
||||
$ git push
|
||||
|
||||
Go to "merge-requests"
|
||||
https://gitorious.org/trantor/yournames-trantor/merge_requests/new
|
||||
|
||||
Please, report bugs in the gitlab issue tracker:
|
||||
https://gitlab.com/trantor/trantor/issues
|
||||
|
||||
== Rights ==
|
||||
|
||||
|
|
Reference in a new issue