Hello

I'd like to know if there is a way to dynamically set the project folder. The 
use case is:

- In my machine, development, project folder at: ~/work/$WORK/hop-project
- In production, project folder at: /hop-project (inside a container)

My solution has been to have the following file hierarchy:
```
hop-project/
  config/hop/hop-config.json
  project-config.json
  metadata/rdbms/db.json
  etl1.hwf
```

and `.projectsConfig.projectConfigurations[0].projectHome` set to 
`${HOP_CONFIG_FOLDER}/../../../hop-project`.

It works so far, in my machine I set `$HOP_CONFIG_FOLDER` to 
`~/work/$WORK/hop-project/config/hop` and in the container to 
`/hop-project/config/hop` but the `../../../` seems like a smell to me. 
Besides, the model requires the folder to be named `hop-project` everywhere.

I remember having to nest everything under `config/hop` to avoid clashing 
between hop's metadata folder and project's metadata folder.

I wonder if there is a better/cleaner way make a project 'relocatable'.

Thanks

Reply via email to