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-1.0.0.tar.gz
(22.6 kB
view hashes)
Built Distribution
Close
Hashes for hookmeup-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd6e1b59403a8124ded9e978309feae44404d8c12bcc31242a57eef9f8114404 |
|
MD5 | 547f72e10072388694d1fcfc077193f0 |
|
BLAKE2b-256 | 98567c58d95f6444ae2243945ee6d976d713cf7e7382c3892fae2904236b249f |