gor-deploy/deploy
2025-07-21 18:43:33 +05:30
..
records Add script to remove the deployments 2025-07-21 14:46:10 +05:30
.registry.env.example Add deploy configs 2025-07-18 18:31:18 +05:30
config.yml Add deploy configs 2025-07-18 18:31:18 +05:30
deploy.sh Deploy application for accepting GOR tokens 2025-07-21 18:43:33 +05:30
Dockerfile Add deploy configs 2025-07-18 18:31:18 +05:30
README.md Deploy application for accepting GOR tokens 2025-07-21 18:43:33 +05:30
remove-deployment.sh Fix script to remove deployments 2025-07-21 16:03:23 +05:30

Deploy

Setup

gor-deploy

  • Clone the repo:

    git clone git@git.vdb.to:LaconicNetwork/gor-deploy.git
    cd gor-deploy/deploy
    
  • Build registry CLI image:

    docker build -t cerc/laconic-registry-cli .
    
    # Builds image cerc/laconic-registry-cli:latest
    
  • Configure userKey and bondId in the registry CLI config:

    nano config.yml
    
  • Add configuration for registry operations:

    cp .registry.env.example .registry.env
    
    # Fill in the required values
    nano .registry.env
    
  • Add configuration for the app:

    curl -s https://git.vdb.to/LaconicNetwork/gor-deploy/src/branch/main/.env.example -o .app.env
    
    # Fill in the required values
    nano .app.env
    

Run

gor-deploy

remove deployment

  • Remove deployment:

    # In gor-deploy/deploy dir
    docker run -it \
    -v ./:/app/deploy -w /app/deploy \
    -e DEPLOYMENT_RECORD_ID=<deploment-record-id-to-be-removed> \
    cerc/laconic-registry-cli:latest \
    ./remove-deployment.sh