A template for personal Python projects.
- Create project from template.
- Change all instances of
python-template
to project name (includingsrc/python-template/
) - Copy
Dockerfile
and.github/workflows
as necessary, for Docker image build on push of tagged version. - Change
docker-compose.yml
file to base on the new image. - Log into dockerhub on the host machine for image pull.
- Use CLI access token as password.
- If "error getting credentials," then
vim ~/.docker/config.json
and change the password store from"desktop"
to""
.
- Use
docker-compose up -d
to start the workspace.