mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
change plugin delimiter
This commit is contained in:
@@ -193,17 +193,20 @@ XDEBUG_REMOTE_HOST=host.docker.internal
|
|||||||
Plugins can be installed during build if you set the `PHRASEANET_PLUGINS` env var as follows:
|
Plugins can be installed during build if you set the `PHRASEANET_PLUGINS` env var as follows:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
PHRASEANET_PLUGINS="git@github.com:alchemy-fr/Phraseanet-plugin-webgallery.git"
|
PHRASEANET_PLUGINS="https://github.com/alchemy-fr/Phraseanet-plugin-expose.git"
|
||||||
|
|
||||||
# You can optionally precise the branch to install
|
# You can optionally precise the branch to install
|
||||||
# If not precised, the main branch will be pulled
|
# If not precised, the main branch will be pulled
|
||||||
PHRASEANET_PLUGINS="git@github.com:alchemy-fr/Phraseanet-plugin-webgallery.git(custom-branch)"
|
PHRASEANET_PLUGINS="git@github.com:alchemy-fr/Phraseanet-plugin-webgallery.git(custom-branch)"
|
||||||
|
|
||||||
# Plugins are separated by spaces
|
# Plugins are separated by semicolons
|
||||||
PHRASEANET_PLUGINS="git@github.com:foo/bar.git(branch-1) git@github.com:baz/42.git"
|
PHRASEANET_PLUGINS="git@github.com:foo/bar.git(branch-1);git@github.com:baz/42.git"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Prefer the HTTPS URL for public repositories, you will not be required to provide your SSH key.
|
||||||
|
|
||||||
If you install private plugins, make sure you export your SSH private key content in order to allow docker build to access the GIT repository:
|
If you install private plugins, make sure you export your SSH private key content in order to allow docker build to access the GIT repository:
|
||||||
|
Also ensure you're using the SSH URL form (i.e: `git@github.com:alchemy-fr/repo.git`).
|
||||||
```bash
|
```bash
|
||||||
export PHRASEANET_SSH_PRIVATE_KEY=$(cat ~/.ssh/id_rsa)
|
export PHRASEANET_SSH_PRIVATE_KEY=$(cat ~/.ssh/id_rsa)
|
||||||
# or if your private key is protected by a passphrase:
|
# or if your private key is protected by a passphrase:
|
||||||
|
@@ -29,7 +29,7 @@ class InstallCommand extends Command
|
|||||||
mkdir($pluginsDir);
|
mkdir($pluginsDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (explode(' ', $plugins) as $key => $plugin) {
|
foreach (explode(';', $plugins) as $key => $plugin) {
|
||||||
$plugin = trim($plugin);
|
$plugin = trim($plugin);
|
||||||
$repo = $plugin;
|
$repo = $plugin;
|
||||||
$branch = 'master';
|
$branch = 'master';
|
||||||
|
Reference in New Issue
Block a user