0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/website/translated_docs/es-ES/windows.md
verdacciobot 825f5a57ea New Crowdin translations (#768)
* New translations iis-server.md (Spanish)
docs(website): new translations

* New translations install.md (Spanish)
docs(website): new translations

* New translations en.json (Spanish)
docs(website): new translations

* New translations config.md (Spanish)
docs(website): new translations

* New translations config.md (Spanish)
docs(website): new translations

* New translations auth.md (Spanish)
docs(website): new translations

* New translations iis-server.md (Spanish)
docs(website): new translations

* New translations auth.md (Spanish)
docs(website): new translations

* New translations auth.md (Spanish)
docs(website): new translations

* New translations ansible.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations

* New translations logger.md (Spanish)
docs(website): new translations

* New translations logger.md (Spanish)
docs(website): new translations

* New translations logger.md (Spanish)
docs(website): new translations

* New translations ci.md (Spanish)
docs(website): new translations

* New translations ci.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations config.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations protect-your-dependencies.md (Spanish)
docs(website): new translations

* New translations uplinks.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations protect-your-dependencies.md (Spanish)
docs(website): new translations

* New translations docker.md (Spanish)
docs(website): new translations

* New translations node-api.md (Spanish)
docs(website): new translations

* New translations protect-your-dependencies.md (Spanish)
docs(website): new translations

* New translations docker.md (Spanish)
docs(website): new translations

* New translations docker.md (Spanish)
docs(website): new translations

* New translations install.md (Spanish)
docs(website): new translations

* New translations reverse-proxy.md (Spanish)
docs(website): new translations

* New translations reverse-proxy.md (Spanish)
docs(website): new translations

* New translations ssl.md (Spanish)
docs(website): new translations

* New translations ssl.md (Spanish)
docs(website): new translations

* New translations ssl.md (Spanish)
docs(website): new translations

* New translations ssl.md (Spanish)
docs(website): new translations

* New translations auth.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations iis-server.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations config.md (Spanish)
docs(website): new translations

* New translations ci.md (Spanish)
docs(website): new translations

* New translations iis-server.md (Spanish)
docs(website): new translations

* New translations logger.md (Spanish)
docs(website): new translations

* New translations ci.md (Spanish)
docs(website): new translations

* New translations dev-plugins.md (Spanish)
docs(website): new translations

* New translations logger.md (Spanish)
docs(website): new translations

* New translations iis-server.md (Spanish)
docs(website): new translations

* New translations iis-server.md (Spanish)
docs(website): new translations

* New translations windows.md (Spanish)
docs(website): new translations
2018-06-19 19:18:49 +02:00

2.5 KiB

id title
windows Instalación como un Servicio de Windows

Basándose ligeramente en las instrucciones encontradas aquí. Elaboré lo siguiente y me proporcionó un servicio de instalación de verdaccio totalmente funcional:

  1. Crear un directorio para Verdaccio
    • mkdir c:\verdaccio
    • cd c:\verdaccio
  2. Install verdaccio locally (I ran into npm issues with global installs)
    • npm install verdaccio
  3. Create your config.yaml file in this location (c:\verdaccio\config.yaml)
  4. Windows Service Setup

Using NSSM

ALTERNATIVE METHOD: (WinSW package was missing when I tried to download it)

  • Download NSSM and extract

  • Add the path that contains nssm.exe to the PATH

  • Open an administrative command

  • Run nssm install verdaccio At a minimum you must fill in the Application tab Path, Startup directory and Arguments fields. Assuming an install with node in the system path and a location of c:\verdaccio the below values will work:

    • Path: node
    • Startup directory: c:\verdaccio
    • Arguments: c:\verdaccio\node_modules\verdaccio\build\lib\cli.js -c c:\verdaccio\config.yaml

    You can adjust other service settings under other tabs as desired. When you are done, click Install service button

    • Start the service sc start verdaccio

Using WinSW

  • As of 2015-10-27, WinSW is no longer available at the below location. Please follow the Using NSSM instructions above.
  • Download WinSW
    • Place the executable (e.g. winsw-1.9-bin.exe) into this folder (c:\verdaccio) and rename it to verdaccio-winsw.exe
  • Create a configuration file in c:\verdaccio, named verdaccio-winsw.xml with the following configuration xml verdaccio verdaccio verdaccio node c:\verdaccio\node_modules\verdaccio\src\lib\cli.js -c c:\verdaccio\config.yaml roll c:\verdaccio.
  • Install your service
    • cd c:\verdaccio
    • verdaccio-winsw.exe install
  • Start your service
    • verdaccio-winsw.exe start

Some of the above config is more verbose than I had expected, it appears as though 'workingdirectory' is ignored, but other than that, this works for me and allows my verdaccio instance to persist between restarts of the server, and also restart itself should there be any crashes of the verdaccio process.

Repositories