gor-deploy/deploy
shreerang acabd4569f Use solana GOR token payments to deploy apps (#1)
Part of https://www.notion.so/Laconic-Mainnet-Plan-1eca6b22d47280569cd0d1e6d711d949

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Reviewed-on: #1
Co-authored-by: shreerang <shreerang@noreply.git.vdb.to>
Co-committed-by: shreerang <shreerang@noreply.git.vdb.to>
2025-07-21 13:14:05 +00:00
..
records Use solana GOR token payments to deploy apps (#1) 2025-07-21 13:14:05 +00:00
.registry.env.example Use solana GOR token payments to deploy apps (#1) 2025-07-21 13:14:05 +00:00
config.yml Use solana GOR token payments to deploy apps (#1) 2025-07-21 13:14:05 +00:00
deploy.sh Use solana GOR token payments to deploy apps (#1) 2025-07-21 13:14:05 +00:00
Dockerfile Use solana GOR token payments to deploy apps (#1) 2025-07-21 13:14:05 +00:00
README.md Use solana GOR token payments to deploy apps (#1) 2025-07-21 13:14:05 +00:00
remove-deployment.sh Use solana GOR token payments to deploy apps (#1) 2025-07-21 13:14:05 +00:00

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