Merge branch 'main' into auth

This commit is contained in:
Simon Willison 2023-07-17 16:48:20 -07:00 committed by GitHub
commit b988dae506
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,13 +10,13 @@ A client CLI utility for [Datasette](https://datasette.io/) instances
## Installation
Install this tool using `pip`:
pip install dclient
```bash
pip install dclient
```
If you want to install it in the same virtual environment as Datasette (to use it as a plugin) you can instead run:
datasette install dclient
```bash
datasette install dclient
```
## Running a query
```bash
@ -30,15 +30,16 @@ Visit **[dclient.datasette.io](https://dclient.datasette.io)** for full document
## Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd dclient
python -m venv venv
source venv/bin/activate
```bash
cd dclient
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
pip install -e '.[test]'
```bash
pip install -e '.[test]'
```
To run the tests:
pytest
```bash
pytest
```