|
19 | 19 | - [Development](#development)
|
20 | 20 | - [Makefile](#makefile)
|
21 | 21 | - [Environment reproducibility](#environment-reproducibility)
|
| 22 | + - [asdf](#asdf) |
22 | 23 | - [Dev containers](#dev-containers)
|
23 | 24 | - [Editor config](#editor-config)
|
24 | 25 | - [Setting environment variables (direnv)](#setting-environment-variables-direnv)
|
@@ -128,6 +129,38 @@ make u
|
128 | 129 |
|
129 | 130 | ### Environment reproducibility
|
130 | 131 |
|
| 132 | +Below mentioned are some tools and configuration that you can use to make your |
| 133 | +environment development-ready. This is optional and opinionated but can help you |
| 134 | +set up your environment quickly. |
| 135 | +
|
| 136 | +#### asdf |
| 137 | +
|
| 138 | +We recommend using [asdf][asdf] to manage your development environment |
| 139 | +efficiently. This tool allows you to handle multiple language versions and tools |
| 140 | +seamlessly. You can install asdf by following the |
| 141 | +[official installation guide][asdf-install]. If you are working within |
| 142 | +[dev containers](#dev-containers), asdf will come pre-installed. |
| 143 | +
|
| 144 | +The project includes a `.tool-versions` file, which lists the specific versions |
| 145 | +of tools used. This ensures consistency across environments. To streamline the |
| 146 | +installation process, use the following command to install the required tools |
| 147 | +defined in the `.tool-versions` file: |
| 148 | +
|
| 149 | +```sh |
| 150 | +make asdfi |
| 151 | +``` |
| 152 | +
|
| 153 | +> **Note:** The `make asdfi` command might not install every tool listed in |
| 154 | +> the `.tool-versions` file. After running the command, verify that all |
| 155 | +> necessary tools are installed. If any tools are missing, install them |
| 156 | +> manually using asdf. |
| 157 | +
|
| 158 | +Example manual installation command: |
| 159 | +
|
| 160 | +```sh |
| 161 | +asdf install <tool-name> <version> |
| 162 | +``` |
| 163 | +
|
131 | 164 | #### Dev Containers
|
132 | 165 |
|
133 | 166 | Our project supports [Dev Containers][devcontainers] for an easy and reproducible
|
@@ -237,6 +270,8 @@ To get in touch with us, please use one of the following routes:
|
237 | 270 |
|
238 | 271 | [![logo-elixir]][elixir] [![logo-elixir-cloud-aai]][elixir-cloud-aai]
|
239 | 272 |
|
| 273 | +[asdf]: https://asdf-vm.com/ |
| 274 | +[asdf-install]: https://asdf-vm.com/guide/getting-started.html |
240 | 275 | [badge-chat-url]: https://join.slack.com/t/elixir-cloud/shared_invite/enQtNzA3NTQ5Mzg2NjQ3LTZjZGI1OGQ5ZTRiOTRkY2ExMGUxNmQyODAxMDdjM2EyZDQ1YWM0ZGFjOTJhNzg5NjE0YmJiZTZhZDVhOWE4MWM
|
241 | 276 | [badge-license-url]: http://www.apache.org/licenses/LICENSE-2.0
|
242 | 277 | [code-of-conduct]: https://elixir-cloud-aai.github.io/about/code-of-conduct/
|
|
0 commit comments