Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A BitTorrent tracker for legal open sharing of scientific data
PHP Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
SQL
cache
captcha
forums
include
javairc
pic
scripts
torrents
.gitignore
1.css
2.css
LICENSE
README
about.php
adduser.php
announce.php
bans.php
bitbucket-upload.php
browse.php
chat.php
comment.php
confirm.php
confirmemail.php
default.css
delacct.php
delete.php
deletemessage.php
details.php
docleanup.php
donate.php
download.php
edit.php
email-gateway.php
faq.php
favicon.ico
filelist.php
formats.php
forummanage.php
forums.php
friends.php
get_upload_script.php
index.php
large.css
links.php
log.php
login.php
logout.php
makepoll.php
messages.php
messages_new.php
modtask.php
my.php
mytorrents.php
news.php
ok.php
peerlist.php
polls.php
recover.php
redir.php
reputation.php
reputation_ad.php
reputation_settings.php
robots.txt
rss.php
rss_old.php
rss_personalized.php
rules.php
scrape.php
search.php
sendmessage.php
signup.php
smilies.php
staff.php
stats.php
tags.php
takeedit.php
takefilesearch.php
takelogin.php
takemessage.php
takeprofedit.php
takerate.php
takesignup.php
takeupload.php
testip.php
topten.php
upload.php
useragreement.php
userdetails.php
userhistory.php
users.php
usersearch.php
videoformats.php
viewnfo.php

README

Please see the manuscript by Langille et al. in Plos One: http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0010071

####Dependencies####

Assuming site is being installed on a standard LAMP (Linux Apache MySQL PHP) machine, the only other modules needed are:
php5-gd
sendmail

####Install####

*Insert ALL sql files (in the SQL folder) into MySQL starting with tb.sql first.

*Copy template files and enter your settings

*Move "include/secrets.php.sample" to "include/secrets.php" and edit:
 %%USER%%
  MySQL user with access to database
 %%PASS%%
  Password of MySQL user
 %%HOST%%
  Database server host, if unsure use: localhost
 %%DB%%
  Name of the database

*Move "include/config.php.sample" to "include/config.php" and edit:
 %%BASEURL%%
  The URL of the website where this code is installed. For example: http://www.biotorrents.com

*Visit the website and sign up for an account


###Installation Script###

A script to set up a new website. It will create the secret.php and config.php files with user supplied values. Then perform initial database import.

*Warning: Do not run on existing site

*Requirement: First create the MySQL database

*Change to scripts directory
 cd scripts
 
*Run install.php using your desired settings

*Command line options
 php install.php --user=USER --pass=PASS --db=DATABASE --host=HOSTNAME --baseurl=URL
 
*Replace USER and PASS with the MySQL user and password, DATABASE with the name of the MySQL database, and optionally the HOSTNAME of the MySQL server if other than localhost.
 
For example:
 --baseurl=http://www.biotorrents.net

*Visit the website and sign up for an account

*Values will be loaded from secrets.php and config.php they already exist
Something went wrong with that request. Please try again.