A convenient teracy-dev-entry with default extensions to set up a teracy-dev VM with v0.5 compatible features
- Clone
teracy-dev
and initteracy-dev-entry
tovagrant up
:
$ cd ~/
$ git clone https://github.com/teracyhq/dev.git -b v0.6.0-a8 teracy-dev-v05
$ cd teracy-dev-v05
$ TERACY_DEV_ENTRY_LOCATION_GIT_REMOTE_ORIGIN=https://github.com/teracyhq-incubator/teracy-dev-entry-v05.git \
TERACY_DEV_ENTRY_LOCATION_GIT_BRANCH=master TERACY_DEV_ENTRY_LOCATION_SYNC=true \
vagrant up
You should see something like this at the end:
==> teracy-dev.local:
==> teracy-dev.local:
==> teracy-dev.local: [2018-10-11T18:49:10+00:00] INFO: Chef Run complete in 83.876089024 seconds
==> teracy-dev.local:
==> teracy-dev.local: Running handlers:
==> teracy-dev.local: [2018-10-11T18:49:10+00:00] INFO: Running report handlers
==> teracy-dev.local: Running handlers complete
==> teracy-dev.local:
==> teracy-dev.local: [2018-10-11T18:49:10+00:00] INFO: Report handlers complete
==> teracy-dev.local: Chef Client finished, 18/31 resources updated in 01 minutes 25 seconds
==> teracy-dev.local: Running provisioner: guest-hosts-fixer (shell)...
teracy-dev.local: Running: inline script
==> teracy-dev.local: vagrant-gatling-rsync is starting the sync engine because you have at least one rsync folder. To disable this behavior, set `config.gatling.rsync_on_startup = false` in your Vagrantfile.
==> teracy-dev.local: Doing an initial rsync...
==> teracy-dev.local: Rsyncing folder: /Users/hoatle/teracy-dev-v05/workspace/ => /home/vagrant/workspace
==> teracy-dev.local: - Exclude: [".vagrant/", ".git", ".idea", ".#*"]
==> teracy-dev.local: Watching: /Users/hoatle/teracy-dev-v05/workspace
By default, the "master" branch is always synced. To develop, we must create and configure the teracy-dev-entry/config_override.yaml
file, for example:
teracy-dev:
entry_location:
git:
remote:
origin: [email protected]:hoatle/teracy-dev-entry-v05.git # your forked repo
upstream: [email protected]:teracyhq-incubator/teracy-dev-entry-v05.git
sync: false # you must update the repo manually