update the install doc for addons - the procedure is a bit different now (although it shouldn't break anything on existing sites.)
This commit is contained in:
parent
54a8246725
commit
eeec826eda
@ -115,14 +115,16 @@ use SSL, your webserver must not listen on port 443 at all.
|
|||||||
|
|
||||||
cd mywebsite
|
cd mywebsite
|
||||||
|
|
||||||
- Then you should clone the addon repository (separately)
|
- Then you should clone the addon repository (separately). We'll give this repository
|
||||||
|
a nickname of 'matrix'. You can pull in other redmatrix addon repositories by
|
||||||
|
giving them different nicknames.
|
||||||
|
|
||||||
git clone https://github.com/friendica/red-addons.git addon
|
util/add_addon_repo https://github.com/friendica/red-addons.git matrix
|
||||||
|
|
||||||
- For keeping the addon tree updated, you should be on you addon tree and
|
- For keeping the addon tree updated, you should be on your addon tree and
|
||||||
issue a git pull
|
issue a git pull
|
||||||
|
|
||||||
cd mywebsite/addon
|
cd mywebsite/extend/addon/matrix
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,6 +6,7 @@ if [ $# -eq '3' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p extend/addon/$2
|
mkdir -p extend/addon/$2
|
||||||
|
mkdir addon > /dev/null 2>&1
|
||||||
git clone $1 extend/addon/$2
|
git clone $1 extend/addon/$2
|
||||||
if [ $? -eq '0' ]; then
|
if [ $? -eq '0' ]; then
|
||||||
exit $?
|
exit $?
|
||||||
|
Reference in New Issue
Block a user