- pre-paginated
- reflowable default
Book - <meta property="rendition:layout">pre-paginated</meta>
Spine - ``
populate the database with dummy data from json file in cwd called test-data.json
curl -H "Content-Type: application/json" -XPOST "http://localhost:9200/product/default/_bulk?pretty" --data-binary "@test-data.json"
It provides all the files and code your container will need. Running the docker build command creates a Docker image using the Dockerfile. This built image is in your machine's local Docker image registry
Create Docker image with name with path to docker file
docker build -t <username>/<name-of-image> ./path/to/Dockerfile
Running a container launches your software with private resources, securely isolated from the rest of your machine.
https://github.com/hasura/graphql-engine/tree/master/install-manifests
Set up Hasura and Postgres on your local machine. First get the docker compose file:
# in a new directory
wget https://raw.githubusercontent.com/hasura/graphql-engine/master/install-manifests/docker-compose/docker-compose.yaml
Then run it:
Go to http://localhost:8080/console and navigate to Data -> Create table
For example, let us go with a user table with the following rows:
user (
id INT PRIMARY KEY,
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>fetch hasura</title> | |
</head> | |
<body> | |
<form id="create_user_form"> |