home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1303299509

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/1217#issuecomment-1303299509 https://api.github.com/repos/simonw/datasette/issues/1217 1303299509 IC_kwDOBm6k_c5NrsW1 31312775 2022-11-04T11:35:13Z 2022-11-04T11:35:13Z NONE

The following worked for deployment to RStudio / Posit Connect

An app.py along the lines of:

```python from pathlib import Path

from datasette.app import Datasette

example_db = Path(file).parent / "data" / "example.db"

use connect 'Content URL' setting here to set app to /datasette/

ds = Datasette(files=[example_db], settings={"base_url": "/datasette/"})

ds._startup_invoked = True ds_app = ds.app() Then to deploy, from within a virtualenv with `rsconnect-python`sh rsconnect write-manifest fastapi -p $VIRTUAL_ENV/bin/python -e app:ds_app -o . rsconnect deploy manifest manifest.json -n <name of connect server> -t "Example Datasette" ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
802513359  
Powered by Datasette · Queries took 0.711ms · About: github-to-sqlite