Operating Systems
General OS Configurations¶
Windows¶
Warning
Update your git settings so all files are not auto-converted to
Windows style line endings: git config --global core.autocrlf false
Docker Buildkit¶
Enabling Docker BuildKit will help ensure pip and npm aren't constantly downloading the same
packages over and over again.
- On your host machine, enable BuildKit using an environment variable: export DOCKER_BUILDKIT=1
- To permanently set the DOCKER_BUILDKIT flag on Ubuntu:
- gedit ~/.profile
- Add the following to the .profile: export DOCKER_BUILDKIT=1
Available Scripts¶
Be sure to mark scripts as executable with chmod +x <script_path>
run_dev.shruns a Docker Compose deployment in a Development configuration.soft_reset.shremoves containers and resets.envconfigs. Volumes and stateful authentication credentials such as passwords are retained.full_reset.shremoves containers and resets.envconfigs. Volumes are deleted.initialize_env.shattempts to create a new.envdeployment config.export_poetry_to_req_txt.[sh|bat]use poetry to export the various Python environment dependencies torequirements.txtformat compatible withpip.update_tooling.[sh|bat]attempts to run self-update features of the recommended dev tooling.setup_linux_kvm_amd.shhelps set up a Docker user and virtualization on Linuxforce_poetry_shell.shhelps activate a poetry virtual environment in the current terminal whenpoetry shellisn't working.