hookmeup

A Git hook to automate your Pipenv and Django workflow
git clone git://git.danielmoch.com/hookmeup.git
Log | Files | Refs | README | LICENSE

commit b953905a42a0630eb2f341f019b4aedef66df746
parent 016f610bd45685cc7bb90fdd233cc52da9c86d9a
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Mon, 20 Aug 2018 06:32:06 -0400

Add notes to README

Diffstat:
MREADME.md | 22+++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -2,10 +2,26 @@ A Git hook to automate your Pipenv and Django workflows -# Requires +## Requires - Python 3.5 or newer -# Features +## Features -* TODO +- Cleans and Syncs your pipenv if there are changes to Pipfile +- (TODO) Migrates your Django DB to it's current working state, applying + and unapplying migrations as necessary + +## Notes + +- Nominal Django migrate case + - If manage.py exists + - `git diff --name-status` the whole branch + - Look for file changes in a 'migrations' path + - If deleted, unapply + - If changed, reapply (shouldn't usually happen) + - If added, apply + - For third party apps + - Always run to the latest migration (must be done after Pipenv + update) +- Should we adjust pipenv based on Pipfile.lock instead of Pipfile?