Skip to content

Commit

Permalink
Bash syntax highlighting in README
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Oct 12, 2023
1 parent 5939d69 commit 9cabde8
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions datasette-{{cookiecutter.hyphenated}}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,26 @@
## Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-{{ cookiecutter.hyphenated }}

```bash
datasette install datasette-{{ cookiecutter.hyphenated }}
```
## Usage

Usage instructions go here.

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-{{ cookiecutter.hyphenated }}
python3 -m venv venv
source venv/bin/activate

```bash
cd datasette-{{ cookiecutter.hyphenated }}
python3 -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
```

1 comment on commit 9cabde8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.