github.com/hasnat/dolt/go@v0.0.0-20210628190320-9eb5d843fbb7/utils/remotesrv/README.md (about)

     1  # remotesrv
     2  
     3  remotesrv is a dolt compatible remote server which implements the grpc remote chunkstore api, and a simple file storage server over http.
     4  
     5  ## Installation
     6  
     7  Currently only installation from source is supported.  To install run 
     8  
     9      go install .
    10      
    11  from the remotesrv directory
    12  
    13  
    14  ## Usage
    15  
    16  
    17  #### synopsis
    18  
    19      remotesrv [--dir <directory>] [--http-port <PORT>] [--grpc-port <PORT>]
    20      
    21  #### options
    22  
    23      -dir string
    24      	root directory where files will be stored to and served from
    25      
    26      -grpc-port
    27      	port on which the grpc server is running in order to serve the grpc remote chunkstore api (Default 50051)
    28      
    29      -http-port
    30      	port on which the http file server is running (Default 80)
    31        
    32  ## Using with dolt
    33  
    34  In order to point the dolt cli to use this server you will need to add a remote that uses this server, or clone from this server
    35  
    36  #### add remote
    37  
    38      dolt remote add <remote> http://localhost:<PORT>/<ORG>/<REPO>
    39     
    40  #### clone
    41  
    42      dolt clone http://localhost:<PORT>/<ORG>/<REPO>