Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add contract pre population #124

Merged
merged 5 commits into from
Mar 13, 2024
Merged

Add contract pre population #124

merged 5 commits into from
Mar 13, 2024

Conversation

darrenvechain
Copy link
Member

This PR allows devs to pre-load contracts into inspector to speed up local development. Create a contracts.json and mount its directory to /usr/share/nginx/html/abis

Eg:

services:
  inspector:
    build:
      context: .
    environment:
      NODE_ENV: production
      VUE_APP_SOLO_URL: http://localhost:8669
    volumes:
      # This allows us to pre-populate the contracts. Your local path should contain a file called `contracts.json`
      - "./examples/abis:/usr/share/nginx/html/abis"
    ports:
      - 8083:80

@darrenvechain darrenvechain requested a review from akanoce March 13, 2024 12:15
@darrenvechain darrenvechain merged commit f52e748 into master Mar 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants