Developer environment setup. Designed first and foremost to be compatible as a Codespaces dotfiles repo.
Entrypoint: script/bootstrap
Private environment configurations can be added in script/private_environments:
- This assumes that you have a private repo named
ENVIRONMENT_NAME.env. - These will only be pulled in on codespaces with the enviornment's
ENV_{ENVIRONMENT_NAME}_ACCESS_TOKENenvironment variable. - The
ENV_{ENVIRONMENT_NAME}_ACCESS_TOKENenvironment variable must be a GitHub Personal Access Token with read access to the private environment repo. - This will execute the environment's
script/bootstrapfile.
Troubleshooting:
ENV_DEVis an environment variable set to the directory where this repo is located on the codespace instance.ENV_{ENVIRONMENT_NAME}is an environment variable set to the directory where the private environment's repo is located on the codespace instance.error.logwill be created inENV_DEVwith any errors logged tostderr
You must have coreutils installed to test:
macOS: brew install coreutils
ubuntu: sudo apt-get install coreutils