Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBP CLI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
digital blueprint
DBP CLI
Commits
627507b2
Unverified
Commit
627507b2
authored
3 years ago
by
Bekerle, Patrizio
Browse files
Options
Downloads
Patches
Plain Diff
Use @digital-blueprint/cli@latest to be safe
parent
5a498666
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#188753
passed
3 years ago
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-7
6 additions, 7 deletions
README.md
with
6 additions
and
7 deletions
README.md
+
6
−
7
View file @
627507b2
...
...
@@ -7,7 +7,7 @@ This is CLI to manage DBP frontend applications.
## Install apps
`npx @digital-blueprint/cli install-app <package-name> <destination-directory> <server-path-prefix>`
`npx @digital-blueprint/cli
@latest
install-app <package-name> <destination-directory> <server-path-prefix>`
*
`package-name`
- the application that you want to install. See https://www.npmjs.com/search?q=%40dbp-topics for a list of applications.
*
`destination-directory`
- the local directory where the application should be installed to
...
...
@@ -16,8 +16,7 @@ This is CLI to manage DBP frontend applications.
If you want to install the DBP Signature App in a new folder
`signature-app`
with a path prefix
`/`
you can call:
```
bash
npx @digital-blueprint/cli install-app @dbp-topics/signature signature-app /
npx @digital-blueprint/cli@latest install-app @dbp-topics/signature signature-app /
```
Afterwards you can point your Apache web-server to
`signature-app/public`
.
...
...
@@ -25,13 +24,13 @@ Afterwards you can point your Apache web-server to `signature-app/public`.
If you want to reach your web application with a path prefix like
`https://mydomain.com/apps/signature`
you can call:
```
bash
npx @digital-blueprint/cli install-app signature signature-app /apps/signature
npx @digital-blueprint/cli
@latest
install-app signature signature-app /apps/signature
```
To install to the current directory you can simply call:
```
bash
npx @digital-blueprint/cli install-app signature
npx @digital-blueprint/cli
@latest
install-app signature
```
**Warning:**
There may be issues when you run these commands as root user, best use a non-root user, like
`www-data`
.
...
...
@@ -39,12 +38,12 @@ To do this you can for example open a shell with `runuser -u www-data -- bash`.
## Update apps
`npx @digital-blueprint/cli update-ap <package-name>`
`npx @digital-blueprint/cli
@latest
update-ap <package-name>`
If you want to update the DBP Signature App in the current folder you can call:
```
bash
npx @digital-blueprint/cli update-app @dbp-topics/signature
npx @digital-blueprint/cli
@latest
update-app @dbp-topics/signature
```
**Warning:**
There may be issues when you run these commands as root user, best use a non-root user, like
`www-data`
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment