A Git hook to automate your Pipenv and Django workflows
Project description
Hook Me Up
A Git hook to automate your Pipenv and Django workflows
Requirements
- Python 3
Features
- Fires whenever you switch branches with
git checkout
, or whenever you rungit pull
, or basically any time Git checks files out into your worktree - Cleans and Syncs your Pipenv if there are changes to
Pipfile
orPipfile.lock
- Migrates your Django DB to it's current working state, applying and unapplying migrations as necessary
The hook detects if Pipenv and/or Django are in use in the current repo, so you don't need to be using both to take advantage of Hookmeup.
Usage
$ pip install hookmeup
$ cd $YOUR_PROJECT
$ hookmeup install
More details are available by running hookmeup --help
.
Acknowledgments
hookmeup is inspired by Tim Pope's hookup utility for Ruby/Rails (and hence so is the name).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hookmeup-0.2.0.tar.gz
(21.4 kB
view hashes)
Built Distribution
hookmeup-0.2.0-py3-none-any.whl
(12.3 kB
view hashes)