issue_comments: 592814114
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/issues/687#issuecomment-592814114 | https://api.github.com/repos/simonw/datasette/issues/687 | 592814114 | MDEyOklzc3VlQ29tbWVudDU5MjgxNDExNA== | 9599 | 2020-02-29T02:07:03Z | 2020-02-29T02:07:03Z | OWNER | The tutorial should start by taking about development environments - how to get a new fresh copy of Datasette that you can start hacking plugins for, in a fresh virtual environment. It should then explain the `--plugins-dir` mechanism, and show how to use it to create a simple plugin that adds a custom SQL function. Does `--reload` work against plugins in the `plugins/` directory? It should. Then it should demonstrate a more complex plugin that uses the `datasette` argument to render a template. It should promote the next page which lists the plugin hooks. The hooks page should include links next to each hook to examples of plugins that use them. The packaging page can explain `setup.py` for distributing packages (let's not bother explaining single modules) and also needs to show how to bundle package data such as templates. It should also show how to use `pip install -e .[test]` for development, and mention that this works with `--reload`. | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 572896293 |