If we follow the installation doc, it says to clone the addon repo inside this dir

which would fail if said dir exist and is not empty.
This commit is contained in:
Julien Desrosiers 2025-02-01 13:21:36 -05:00
parent 16b268f0ca
commit f1bf64a8ff
3 changed files with 11 additions and 13 deletions

4
.gitignore vendored
View file

@ -72,11 +72,7 @@ venv/
/.idea
#ignore addons directory
/addons
/addon
# except those:
!/addons/.gitkeep
!/addon/.gitkeep
#ignore base .htaccess
/.htaccess

View file

View file

@ -76,14 +76,6 @@ This makes the software much easier to update.
The Linux commands to clone the repository into a directory "mywebsite" would be
git clone https://github.com/friendica/friendica.git -b stable mywebsite
cd mywebsite
bin/composer.phar install --no-dev
Make sure the folder *view/smarty3* exists and is writable by the webserver user, in this case *www-data*
mkdir -p view/smarty3
chown www-data:www-data view/smarty3
chmod 775 view/smarty3
Get the addons by going into your website folder.
@ -91,7 +83,17 @@ Get the addons by going into your website folder.
Clone the addon repository (separately):
git clone https://github.com/friendica/friendica-addons.git -b stable addon
git clone https://github.com/friendica/friendica-addons.git -b stable addon
Install the dependencies:
bin/composer.phar install --no-dev
Make sure the folder *view/smarty3* exists and is writable by the webserver user, in this case *www-data*
mkdir -p view/smarty3
chown www-data:www-data view/smarty3
chmod 775 view/smarty3
If you want to use the development version of Friendica you can switch to the develop branch in the repository by running