maxlath / wikibase-cli

read and edit a Wikibase instance from the command line
MIT License
223 stars 24 forks source link

I can't install in paws #183

Closed hubaishan closed 3 months ago

hubaishan commented 4 months ago

I can't install in paws, is there a guide to install in paws?

maxlath commented 4 months ago

@hubaishan I'm not familiar with paws, is it that paws https://software.sil.org/paws/ ? Is there a known way to install npm packages in paws?

hubaishan commented 4 months ago

@maxlath No, It is https://wikitech.wikimedia.org/wiki/PAWS

maxlath commented 4 months ago

It does not seem to give the possibility to install nodejs/npm packages, I'm afraid, but maybe you can ask the PAWS developers/maintainers if there is a way to do that.

hubaishan commented 4 months ago

I made this feature request https://phabricator.wikimedia.org/T358649

Correction It installed successfully but without direct links.

The installation process is:

  1. open terminal windows.
  2. npm install wikibase-cli@16.3.3
  3. we can run by node node_modules/wikibase-cli/bin/wd not wd directly
  4. configure your OAuth keys
  5. if server stopped you must reinstall and reconfigure.
hubaishan commented 4 months ago

@maxlath please review the pull request https://github.com/toolforge/paws/pull/381

hubaishan commented 3 months ago

It is now part of default paws installation after https://github.com/toolforge/paws/pull/381.

maxlath commented 3 months ago

@hubaishan nice! sorry I missed the previous notification