Merge pull request #14762 from juliend2/add-addon-dir

Create `addon/` folder in the proper order, since it's now mandatory
This commit is contained in:
Hypolite Petovan 2025-02-02 14:43:34 -05:00 committed by GitHub
commit 5ad82bce23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View file

@ -72,7 +72,6 @@ venv/
/.idea /.idea
#ignore addons directory #ignore addons directory
/addons
/addon /addon
#ignore base .htaccess #ignore base .htaccess

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 The Linux commands to clone the repository into a directory "mywebsite" would be
git clone https://github.com/friendica/friendica.git -b stable mywebsite 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. 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): 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 If you want to use the development version of Friendica you can switch to the develop branch in the repository by running