Skip to content

yushiang-demo/pano-to-mesh-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pano-to-mesh-server

On-premise of pano-to-mesh

Quick start

  • Run service by docker-compose up -d.
  • Initialize db by docker-compose exec server flask db upgrade.
  • Shut down service by docker-compose down.

DB Schema

erDiagram
    User {
        string id PK
        string name
    }
    Room {
        string id PK
        object decorations
        string user_id FK
    }
    PanoInfo{
        string id PK
        string user_id FK
    }
    Texture {
        string id PK
        string image_url
        string panoInfo_id FK
    }
    Layout {
        string id PK
        string coords
        string panoInfo_id FK
    }

    User }|--o{ Room: "Has"
    PanoInfo ||--o{ Room : "Has"
    PanoInfo ||--o{ Texture: "Has"
    PanoInfo ||--|| Layout: "Has"
    User ||--o{ PanoInfo: "Has"
Loading