From 6191aef0d504221fa89df3df5285d69b60bf9961 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Tue, 8 Mar 2016 09:54:58 +0100 Subject: [PATCH] Update Readme.md with composer info. --- Changelog | 1 + README.md | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Changelog b/Changelog index 4a4871f1c..c111917cb 100755 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ 2016-03-08 DariusIII + * Upd: Update Readme.md with composer info. * Add: Add project composer.lock file to git, remove Git folder from libs. * Chg: Remove dependencies handled by composer * Chg: Remove libraries handled by composer, move others to their respective folders diff --git a/README.md b/README.md index b2bca54ef..840cb3d7e 100755 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ I started adapting some of more interesting scripts from nZEDb, but they require CD to the root of your newznab install, ie. cd /var/www/newznab Next steps are very important: - - git init + + git init git remote add origin https://github.com/DariusIII/newznab-tmux.git git fetch git reset --hard origin/your_wanted_branch, ie. git reset --hard origin/master @@ -20,18 +20,26 @@ I started adapting some of more interesting scripts from nZEDb, but they require Schema for first database update is located in resources/db/schema/ folder. Import it to your database. There is another file in that folder nntmux_fi_schema.sql, use that if you don't have any releases and users on your site, AKA, completely fresh install of newznab+. BE WARNED: If you import this schema it WILL NUKE YOUR DATABASE. - If you are updating from latest newznab svn (aka tvmaze version), you need to rename back tvinfoID columns into rageid + If you are updating from latest newznab svn (aka tvmaze version), you need to rename back tvinfoID columns into rageid (located in releases and userseries tables, maybe some more), before you import the schema.sql. After that you update your database by running update_db.php from cli folder (ie. php cli/update_db.php true) You need to chmod to 777 following folders now: resources/* libs/smarty/templates_c - nzbfiles/ + nzbfiles/ You need to add an alias to your apache/nginx conf of your indexer: Alias /covers /path/to/newznab/resources/covers +# Composer + + Note: Newznab-tmux uses composer to install required libraries. To install composer + follow instructons located at: https://getcomposer.org/download/ + When you have downloaded and installed composer, + run "php composer.phar install" to install dependencies and create required + folders and autoloader for them. + # yEnc: Note: You have 3 choices,