Soft link a file under multiple environment configuration
I have the following question, in an application, I created a symbolic link file called integration.properties links to another folder which consists configuration files for different environments, such as local review, qa and staging (each has a separate folder). The link I created under my local environment is like ln -s ../../../../local/application.properties integration.properties It works fine locally. However, when I push code to git repository and deploy on review, the file should link to application.properties under review folder, should be ../../../../review/application.properties. When deploy to qa, it should be ../../../../qa/application.properties How can I do this (automatically or manually)? Thanks,
You'll need to write a script to:
- do the clone
- add the symlink
1-2 of 2
Reply to this discussion
You cannot edit posts or make replies: You should be logged in before you can post.