majestrate / torrent.ano

BitTorrent Index software
MIT License
4 stars 3 forks source link

Please include a tutorial on how to install the dependencies to compile your project in Ubuntu! Thanks #6

Closed roboirc closed 4 years ago

wipedlife commented 4 years ago

https://github.com/golang/go/wiki/Ubuntu + https://www.postgresql.org/download/linux/ubuntu/

roboirc commented 4 years ago

Getting error regarding: "role xxxx does not exist" where xxxx is the user name in Linux after trying to run ./indextracker. Please help. Torrent.ano doesn't seem to work.

majestrate commented 4 years ago

you need to set up the database

su postgres
psql

then type in:

 create role xxxx with login;
 create database xxxx owner xxxx;
 \q

where xxxx is that user name.

roboirc commented 4 years ago

The first two commands are not working. They give me "Authentication Failure"

majestrate commented 4 years ago

run su postgres as root

roboirc commented 4 years ago

Ok thanks!

roboirc commented 4 years ago

Also the commands for add-category etc as in the main Readme.md are not working either. Please help!

roboirc commented 4 years ago

It keeps saying "Unable to find log" or "Unable to find index" or "Unable to find config.ini" Is config.ini created by default or has to be created as an empty file first?

majestrate commented 4 years ago

cp default.ini config.ini

majestrate commented 4 years ago

make sure to edit the file as needed

roboirc commented 4 years ago

Thanks @majestrate

roboirc commented 4 years ago

Can the title: "TORRENTS.LIVINGSTONE.I2P" be changed or is it permanently part of the script?

majestrate commented 4 years ago

you can change that to whatever you want

roboirc commented 4 years ago

How and where?

majestrate commented 4 years ago

in config.ini

[index]
site-name=sitename.goes.here
roboirc commented 4 years ago

Tried that, the label TORRENTS.LIVINGSTONE.I2P is still on the tracker's main front page.

majestrate commented 4 years ago

do a git pull and then a git reset --hard origin/master and then rebuild.

i had to force push sorry.

roboirc commented 4 years ago

No problem but I can't change: "TORRENTS.LIVINGSTONE.I2P" still. Help

majestrate commented 4 years ago

fetch the latest revision, rebuild and restart indextracker

majestrate commented 4 years ago

also make sure it's running using ./indextracker config.ini by default it uses default.ini

roboirc commented 4 years ago

Ok thanks I see it now.

roboirc commented 4 years ago

Thank you :)

majestrate commented 4 years ago

yw, can this issue be closed?

roboirc commented 4 years ago

Yes thanks.