X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=README;h=2b129de620debcd64dde441b45167960d7d1519c;hb=69d4ef6baf273e93270de07261a32ccceee50464;hp=afda44fa8beb439ef3b4355b0e3c0ea65c55d798;hpb=702d6bbeac9d5f60240a195544b2bbcfef51c21a;p=myslice.git diff --git a/README b/README index afda44fa..2b129de6 100644 --- a/README +++ b/README @@ -17,13 +17,18 @@ See the devel/ subdir for more devel-oriented doc. * edit myslice/config.py and enter the details of your manifold backend * init django -$ manage.py syncdb +$ ./manage.py syncdb +$ ./manage.py migrate * gather static files $ ./manage.py collectstatic (formerly, we used make static, which is deprecated) -- or -- $ ./manage.py collectstatic --noinput -$ make + +* gather templates files + for now we still seem to rely on a make-based templates-collection process + that creates all-templates/ +$ make templates * run a local server: $ manage.py runserver 0.0.0.0:8000 @@ -130,13 +135,10 @@ package is published) ========== automatically generated -* all-static: (generated, no need to source-control) - this is where 'make static' will gather all your static contents if you run a local server - make has convenience targets to refresh this area - $ make static - $ make clean-static +* static/: (generated by collectstatic, see above, do not source-control) + $ manage.py [ --noinput ] collectstatic -* django-static +* all-templates/ * myslice.sqlite3 this is where django stores its own stuff, as per settings.py