warehouse
warehouse copied to clipboard
Document how I setup remote access to development warehouse instances
For user testing or preview work, I've used ngrok in the past, this documents my setup as well as a less complete solution.
~Note: This also introduces dev/environment.local which is configured to be completely ignored by git, but exist as an empty file in the repository allowing for local overrides of environment variable provided to the docker containers.~ [Edit: Hmmm... seems skip-worktree doesn't propagate up]
yeah, .gitignore doesn't seem to work though:
ees-imac:warehouse ee$ git status
On branch remote-access
Your branch is up to date with 'origin/remote-access'.
nothing to commit, working tree clean
ees-imac:warehouse ee$ echo "FOO=bar" > dev/environment.local
ees-imac:warehouse ee$ git status
On branch remote-access
Your branch is up to date with 'origin/remote-access'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: dev/environment.local
no changes added to commit (use "git add" and/or "git commit -a")
ideally changes in that file would just be completely ignored?