You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cookiecutter-basic/{{cookiecutter.project_slug}}
Drew Bednar c48d5ba13f [Closes #3] Adds image_registry as a template variable 1 year ago
..
scripts Update scripts for better env setup and linting 1 year ago
tests Working setup 1 year ago
{{cookiecutter.project_slug}} Basic project the way Drew likes it 1 year ago
.coveragerc Basic project the way Drew likes it 1 year ago
.dockerignore Adding simple Docker setup 1 year ago
.drone.yml [Closes #3] Adds image_registry as a template variable 1 year ago
.gitignore Basic project the way Drew likes it 1 year ago
.pre-commit-config.yaml Allow multiple documents in single yaml file 1 year ago
Dockerfile Adding simple Docker setup 1 year ago
LICENSE Adding support for packaging 1 year ago
README.md Basic project the way Drew likes it 1 year ago
dev-requirements.in Adding support for packaging 1 year ago
entrypoint.sh Adding simple Docker setup 1 year ago
pyproject.toml Adding support for packaging 1 year ago
requirements.in Basic project the way Drew likes it 1 year ago
tasks.py [Closes #3] Adds image_registry as a template variable 1 year ago

README.md

{{ cookiecutter.project_name }}

{{cookiecutter.description}}

First time setup

Create a virtual environment and activate it. Now from the root project directory run ./scripts/bootstrap. This will install pip-tools and sync any dependencies for the first time.

Dependency management

Dependencies are managed via [pip-tools].

Adding a dependency

To add a dependency, edit requirements.in (or dev-requirements.in for dev dependencies) and add your dependency then run pip-compile requirements.in.

Syncing dependencies

Run pip-sync requirements.txt dev_requirements.txt.

Testing

Run the tests by invoking py.test in the project root. Make sure you run any pending migrations beforehand.