mirror of
https://github.com/friendica/friendica
synced 2025-02-19 04:06:48 +00:00
Update docs and scripts to use the correct composer install script
This commit is contained in:
parent
98f1ae444c
commit
d71264993d
7 changed files with 12 additions and 12 deletions
|
@ -19,7 +19,7 @@ cd $DocumentRoot
|
||||||
# copy the .htaccess-dist file to .htaccess so that rewrite rules work
|
# copy the .htaccess-dist file to .htaccess so that rewrite rules work
|
||||||
cp $DocumentRoot/.htaccess-dist $DocumentRoot/.htaccess
|
cp $DocumentRoot/.htaccess-dist $DocumentRoot/.htaccess
|
||||||
|
|
||||||
bin/composer.phar --no-dev install
|
bin/composer.phar install
|
||||||
|
|
||||||
# install friendica
|
# install friendica
|
||||||
bin/console autoinstall -f /tmp/autoinstall.config.php
|
bin/console autoinstall -f /tmp/autoinstall.config.php
|
||||||
|
|
|
@ -62,7 +62,7 @@ If you want to have git automatically update the dependencies with composer, you
|
||||||
}
|
}
|
||||||
# `composer install` if the `composer.lock` file gets changed
|
# `composer install` if the `composer.lock` file gets changed
|
||||||
# to update all the php dependencies
|
# to update all the php dependencies
|
||||||
check_run composer.lock "bin/composer.phar install --no-dev"
|
check_run composer.lock "bin/composer.phar install"
|
||||||
|
|
||||||
just place it into `.git/hooks/post-merge` and make it executable.
|
just place it into `.git/hooks/post-merge` and make it executable.
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ Clone the addon repository (separately):
|
||||||
|
|
||||||
Install the dependencies:
|
Install the dependencies:
|
||||||
|
|
||||||
bin/composer.phar install --no-dev
|
bin/composer.phar run install:prod
|
||||||
|
|
||||||
Make sure the folder *view/smarty3* exists and is writable by the webserver user, in this case *www-data*
|
Make sure the folder *view/smarty3* exists and is writable by the webserver user, in this case *www-data*
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ Make sure the folder *view/smarty3* exists and is writable by the webserver user
|
||||||
If you want to use the development version of Friendica you can switch to the develop branch in the repository by running
|
If you want to use the development version of Friendica you can switch to the develop branch in the repository by running
|
||||||
|
|
||||||
git checkout develop
|
git checkout develop
|
||||||
bin/composer.phar install
|
bin/composer.phar run install:prod
|
||||||
cd addon
|
cd addon
|
||||||
git checkout develop
|
git checkout develop
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ You can get the latest changes at any time with
|
||||||
|
|
||||||
cd path/to/friendica
|
cd path/to/friendica
|
||||||
git pull
|
git pull
|
||||||
bin/composer.phar install --no-dev
|
bin/composer.phar run install:prod
|
||||||
|
|
||||||
The addon tree has to be updated separately like so:
|
The addon tree has to be updated separately like so:
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ Der Linux-Code, mit dem man die Dateien direkt in ein Verzeichnis wie "meinewebs
|
||||||
|
|
||||||
git clone https://github.com/friendica/friendica.git -b stable mywebsite
|
git clone https://github.com/friendica/friendica.git -b stable mywebsite
|
||||||
cd mywebsite
|
cd mywebsite
|
||||||
bin/composer.phar install
|
bin/composer.phar run install:prod
|
||||||
|
|
||||||
Stelle sicher, dass der Ordner *view/smarty3* existiert and von dem Webserver-Benutzer beschreibbar ist
|
Stelle sicher, dass der Ordner *view/smarty3* existiert and von dem Webserver-Benutzer beschreibbar ist
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ Wenn du die Entwickler Version von Friendica verwenden möchtest kannst du auf d
|
||||||
Dies tust du mit den folgenden Befehlen
|
Dies tust du mit den folgenden Befehlen
|
||||||
|
|
||||||
git checkout develop
|
git checkout develop
|
||||||
bin/composer.phar install
|
bin/composer.phar run install:prod
|
||||||
cd addon
|
cd addon
|
||||||
git checkout develop
|
git checkout develop
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
$start_time = microtime(true);
|
$start_time = microtime(true);
|
||||||
|
|
||||||
if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
|
if (!file_exists(__DIR__ . '/vendor/autoload.php')) {
|
||||||
die('Vendor path not found. Please execute "bin/composer.phar --no-dev install" on the command line in the web root.');
|
die('Vendor path not found. Please execute "bin/composer.phar run install:prod" on the command line in the web root.');
|
||||||
}
|
}
|
||||||
|
|
||||||
require __DIR__ . '/vendor/autoload.php';
|
require __DIR__ . '/vendor/autoload.php';
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
if (!file_exists(__DIR__ . '/../vendor/autoload.php')) {
|
if (!file_exists(__DIR__ . '/../vendor/autoload.php')) {
|
||||||
die('Vendor path not found. Please execute "bin/composer.phar --no-dev install" on the command line in the web root.');
|
die('Vendor path not found. Please execute "bin/composer.phar install" on the command line in the web root.');
|
||||||
}
|
}
|
||||||
|
|
||||||
require __DIR__ . '/../vendor/autoload.php';
|
require __DIR__ . '/../vendor/autoload.php';
|
||||||
|
|
Loading…
Add table
Reference in a new issue