Skip to content

Athorcis/athorrent-frontend

Repository files navigation

Code Climate CircleCI

Getting started

Install the following prerequisites

  • Apache (or any webserver)
  • PHP and extensions mysql, pdo, apcu (optional)
  • Mysql Server
  • NodeJS & NPM

Then run

git clone https://github.com/Athorcis/athorrent-frontend athorrent
cd athorrent
./install.sh <db_username> <db_password> <seedbox_username> <seedbox_password>

If you use Apache, create a .htaccess file in the web directory


Options +FollowSymLinks

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [QSA,L]
</IfModule>

If you don't you might find an answer [here] (http://silex.sensiolabs.org/doc/master/web_servers.html)

Create a bin directory and put the backend binary in it. To build the backend see [athorrent-backend] (https://github.com/Athorcis/athorrent-backend)

And make sure the athorrent directory and all its subdirectories and files are owned by the user who run the webserver.