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 2.7+
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.3.tar.gz
(22.7 kB
view hashes)
Built Distribution
Close
Hashes for hookmeup-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ee7380e638df781d2ae08373ab69b12986d3f9ec5bc8eb93a758ec5dffef846 |
|
MD5 | 69a9c26841f9be96e57d8794946c8637 |
|
BLAKE2b-256 | e755d16b93ca705fee33b8b06af031e0970c5b056542e1a39881da2d6ab83eed |