teracyhq-incubator / teracy-dev-core

teracy-dev-core extension
MIT License
1 stars 6 forks source link

teracy-dev-core

The core extension for teracy-dev which supports all options from vagrant for teracy-dev yaml configuration format.

How to use

Prerequisites:

By default, teracy-dev is already configured to use this extension, however you can override the configuration with your own, for example, to use a different version or a forked repo.

To override the built-in version, create workspace/teracy-dev-entry/config_default.yaml with the following similar content:

teracy-dev:
  extensions:
    - _id: "kernel-core"
      path:
        extension: teracy-dev-core
      location:
        git:
          remote:
            origin: https://github.com/teracyhq-incubator/teracy-dev-core.git
          branch: v0.3.0
      require_version: ">= 0.3.0"
teracy-dev:
  extensions:
    - _id: "kernel-core"
      path:
        extension: teracy-dev-core
      location:
        git:
          remote:
            origin: https://github.com/teracyhq-incubator/teracy-dev-core.git
          branch: master
      require_version: ">= 0.4.0"
teracy-dev:
  extensions:
    - _id: "kernel-core"
      path:
        extension: teracy-dev-core
      location:
        git:
          remote:
            origin: https://github.com/teracyhq-incubator/teracy-dev-core.git
          branch: develop
      require_version: ">= 0.5.0-SNAPSHOT"

How to develop

You should configure the forked git repo into the workspace directory by adding the following similar content into workspace/teracy-dev-entry/config_override.yaml:

teracy-dev:
  extensions:
    - _id: "kernel-core"
      path:
        lookup: workspace
      location:
        git:
          remote:
            origin: <fill your forked repo here>
            upstream: https://github.com/teracyhq-incubator/teracy-dev-core.git
        branch: develop
      require_version: ">= 0.5.0-SNAPSHOT"

Supported configurations

These are the supported configurations in teracy-dev-core, you can configure them in the workspace/teracy-dev-entry/config_override.yaml: