X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=README;h=3a894cc05cd075dd8256ad478bf2b204e940d5f0;hp=d05ded49c3ba8e1dcc5dfcb4ae62249668edff5a;hb=8a65ab0cec5c7fe0740b9f30f551a3929f57c8bb;hpb=3fd39627f0b94e34c4667430b932cf1ff4635223 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: