mirror of
https://github.com/friendica/friendica
synced 2025-02-10 22:54:02 +00:00
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:
commit
5ad82bce23
2 changed files with 11 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -72,7 +72,6 @@ venv/
|
||||||
/.idea
|
/.idea
|
||||||
|
|
||||||
#ignore addons directory
|
#ignore addons directory
|
||||||
/addons
|
|
||||||
/addon
|
/addon
|
||||||
|
|
||||||
#ignore base .htaccess
|
#ignore base .htaccess
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
@ -93,6 +85,16 @@ 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
|
||||||
|
|
||||||
git checkout develop
|
git checkout develop
|
||||||
|
|
Loading…
Add table
Reference in a new issue