Skip to content

Commit

Permalink
docs(docker): clarify mounted app under development is used
Browse files Browse the repository at this point in the history
Signed-off-by: Max <max@nextcloud.com>
  • Loading branch information
max-nextcloud committed Jan 4, 2024
1 parent 754bdfa commit e008cf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ export const configureNextcloud = async function(apps = ['viewer'], vendoredBran
if (app in applist.enabled) {
console.log(`├─ ${app} version ${applist.enabled[app]} already installed and enabled`)
} else if (app in applist.disabled) {
// built in
// built in or mounted already as the app under development
await runExec(container, ['php', 'occ', 'app:enable', '--force', app], true)
} else if (app in VENDOR_APPS) {
// some apps are vendored but not within the server package
// apps that are vendored but still missing (i.e. not build in or mounted already)
await runExec(container, ['git', 'clone', '--depth=1', `--branch=${vendoredBranch}`, VENDOR_APPS[app], `apps/${app}`], true)
await runExec(container, ['php', 'occ', 'app:enable', '--force', app], true)
} else {
Expand Down

0 comments on commit e008cf6

Please sign in to comment.