Skip to main content

Irinṣẹ Ila aṣẹ

CLI ti verdaccio naa jẹ irinṣẹ bibẹẹrẹ ohun elo rẹ.

Awọn aṣẹ

verdaccio --listen 4000 --config ~./config.yaml
AṣẹAtilẹwaApẹẹrẹApejuwe
--listen \ -l4873-p 7000ibudo http
--config \ -c~/.local/verdaccio/config.yaml~./config.yamlfaili iṣeto naa
--info \ -in ṣe atẹjade alaye ayika ibilẹ

Aaye faili iṣeto atilẹwa

Lati sawari itọsọna ile, a gbẹkẹle $XDG_DATA_HOME gẹgẹbi aṣayan akọkọ ati ayika Windows ti a n wa fun iyipada ayika ti APPDATA.

Ọna faili iṣeto

Config files should be YAML, JSON or a NodeJS module. YAML format is detected by parsing config file extension (yaml or yml, case insensitive).

Aaye ibi ipamọ atilẹwa

We use the $XDG_DATA_HOME environment by variable default to locate the storage by default which should be the same as $HOME/.local/share. If you are using a custom storage, this location is irrelevant.

Aaye faili ibi ipamọ data atilẹwa

The default database file location is in the storage location. Starting with version 4.0.0, the database file name will be .verdaccio-db.json for a new installation of Verdaccio. When upgrading an existing Verdaccio server, the file name will remain .sinopia-db.json.

Environment variables

Full list of environment variables.

  • VERDACCIO_HANDLE_KILL_SIGNALS to enable gracefully shutdown (since v4.12.0)