From 1a805288abe8d155b6dad227221e5f70311d06c3 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 11 Aug 2020 17:31:53 -0700 Subject: [PATCH] Updating homebrew plugin installation instructions This will start working as soon as Datasette 0.47 ships. Refs #923 --- docs/installation.rst | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 7fc5b3e1..1a45c594 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -29,9 +29,9 @@ If you have a Mac and use `Homebrew `__, you can install Datas brew install simonw/datasette/datasette -If you install Datasette using Homebrew you can install plugins using the following:: +Once you have installed Datasette you can install plugins using the following:: - /usr/local/opt/datasette/libexec/bin/pip install datasette-vega + datasette install datasette-vega .. _installation_pip: @@ -78,28 +78,6 @@ Once pipx is installed you can use it to install Datasette like this:: Then run ``datasette --version`` to confirm that it has been successfully installed. -Installing plugins using pipx -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Datasette plugins need to be installed into the same environment as Datasette itself. You can do this using ``pipx inject datasette name-of-plugin`` - and then confirm that the plugin has been installed using the ``datasette plugins`` command:: - - $ datasette plugins - [] - - $ pipx inject datasette datasette-json-html - injected package datasette-json-html into venv datasette - done! ✨ 🌟 ✨ - - $ datasette plugins - [ - { - "name": "datasette-json-html", - "static": false, - "templates": false, - "version": "0.6" - } - ] - Upgrading packages using pipx ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~