From: Yasin Date: Tue, 12 Nov 2013 11:07:28 +0000 (+0100) Subject: commands to run after git pull is added X-Git-Tag: myslice-0.3-0~115 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=8a65ab0cec5c7fe0740b9f30f551a3929f57c8bb commands to run after git pull is added --- diff --git a/README b/README index d05ded49..3a894cc0 100644 --- a/README +++ b/README @@ -32,6 +32,16 @@ $ make static (which is a shorthand for cleaning up and run manage collectstatic that creates templates/ $ make templates [$ make redo (each time when you pull, do that and restart the server)] + +## Whenever doing a git pull the following operations are recommended: + +$ make static # will refresh static/ from all the pieces in the project +$ make templates # same, for templates +$ make redo-static # clears up (rm -rf) static/ first, then make static +$ make redo-templates # ditto for templates +$ make redo == make redo-static redo-templates + + * run a local server: $ manage.py runserver 0.0.0.0:8000 -- or -- my advice: