Skip to content

Commit e98c3b7

Browse files
committed
Mention environment variables
1 parent f8b0e4c commit e98c3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ A repository like this one is the way to get started. You can create a new repo
2626
5. Update the install.yaml to give the necessary instructions for installing the add-on.
2727
* The fundamental line is the `files` directive, a list of files to be copied from this repo into the project `.ddev` directory.
2828
* You can optionally add files to the `global_files` directive as well, which will cause files to be placed in the global `.ddev` directory, `~/.ddev`.
29-
* Finally, `pre_install_commands` and `post_install_commands` are supported.
29+
* Finally, `pre_install_commands` and `post_install_commands` are supported. These can use the host-side environment variables documented [in ddev docs](https://ddev.readthedocs.io/en/stable/users/extend/custom-commands/#environment-variables-provided).
3030
6. Update `tests/test.bats` to provide a reasonable test for the repository. You can run it manually with `bats tests` and it will be run on push and nightly as well. Please make sure to attend to test failures when they happen. Others will be depending on you. `bats` is a simple testing framework that just uses `bash`. You can install it with `brew install bats-core` or [see other techniques](https://bats-core.readthedocs.io/en/stable/installation.html). See [bats tutorial](https://bats-core.readthedocs.io/en/stable/).
3131
7. When everything is working, including the tests, you can push the repository to GitHub.
3232
8. Create a release on GitHub.

0 commit comments

Comments
 (0)