mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
datasette install -r requirements.txt, closes #2033
This commit is contained in:
parent
a53b893c46
commit
1ad92a1d87
4 changed files with 44 additions and 6 deletions
|
|
@ -51,7 +51,16 @@ This command can also be used to upgrade Datasette itself to the latest released
|
|||
|
||||
datasette install -U datasette
|
||||
|
||||
These commands are thin wrappers around ``pip install`` and ``pip uninstall``, which ensure they run ``pip`` in the same virtual environment as Datasette itself.
|
||||
You can install multiple plugins at once by listing them as lines in a ``requirements.txt`` file like this::
|
||||
|
||||
datasette-vega
|
||||
datasette-cluster-map
|
||||
|
||||
Then pass that file to ``datasette install -r``::
|
||||
|
||||
datasette install -r requirements.txt
|
||||
|
||||
The ``install`` and ``uninstall`` commands are thin wrappers around ``pip install`` and ``pip uninstall``, which ensure that they run ``pip`` in the same virtual environment as Datasette itself.
|
||||
|
||||
One-off plugins using --plugins-dir
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue