home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 344141199

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/59#issuecomment-344141199 https://api.github.com/repos/simonw/datasette/issues/59 344141199 MDEyOklzc3VlQ29tbWVudDM0NDE0MTE5OQ== 9599 2017-11-14T04:13:11Z 2017-11-14T04:13:11Z OWNER

I managed to do this manually:

datasette package ~/parlgov-db/parlgov.db --metadata=parlgov.json
# Output 8758ec31dda3 as the new image ID
docker save 8758ec31dda3 > /tmp/my-image
# I could have just piped this straight to hyper
cat /tmp/my-image | hyper load
# Now start the container running in hyper
hyper run -d -p 80:8001 --name parlgov 8758ec31dda3
# We need to assign an IP address so we can see it
hyper fip allocate 1
# Outputs 199.245.58.78
hyper fip attach 199.245.58.78 parlgov

At this point, visiting the IP address in a browser showed the parlgov UI.

To clean up...

hyper hyper fip detach parlgov
hyper fip release 199.245.58.78
hyper stop parlgov
hyper rm parlgov
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
273157085  
Powered by Datasette · Queries took 1.074ms · About: github-to-sqlite