Skip to content

small maps using docker #32

@verajosemanuel

Description

@verajosemanuel
>docker run --rm -p 8001:8001 -v c/Users/joe/Downloads:/mnt  datasetteproject/datasette datasette -p 8001 -h 0.0.0.0 /mnt/my.db --install=datasette-cluster-map 


Usage: datasette serve [OPTIONS] [FILES]...
Try 'datasette serve --help' for help.

Error: no such option: --install

so i have been trying to install attaching a terminal to running container:


docker exec -i -t ec5b9dd7c551 /bin/bash
root@ec5b9dd7c551:/# datasette install datasette-cluster-map
Collecting datasette-cluster-map
  Downloading datasette_cluster_map-0.17.1-py3-none-any.whl (34 kB)
Collecting datasette-leaflet>=0.2.2
  Downloading datasette_leaflet-0.2.2-py3-none-any.whl (112 kB)
     |████████████████████████████████| 112 kB 26.2 MB/s
Requirement already satisfied: datasette>=0.54 in /usr/local/lib/python3.7/site-packages (from datasette-cluster-map) (0.55)
Requirement already satisfied: click~=7.1.1 in /usr/local/li...............
....
....
Installing collected packages: datasette-leaflet, datasette-cluster-map
Successfully installed datasette-cluster-map-0.17.1 datasette-leaflet-0.2.2

and then stopped and run the container again.
Maps now available but very small. Like a banner above the data. is there any way of setting maps full windows size?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions