X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=README;h=f2ec7efd6a92e530a2f3e08d1840e68a42bcf760;hb=3fdf45fe97d4928b4cef99e12101c90aa3a7fbc7;hp=21a79b8138e8db829390db40871fe13c2d0124ea;hpb=4b6b013580973461964d6a2f3ed66636ac5e7dbc;p=myslice.git diff --git a/README b/README index 21a79b81..f2ec7efd 100644 --- a/README +++ b/README @@ -6,7 +6,7 @@ See the devel/ subdir for more devel-oriented doc. ==================== 1 minute howto -* REQUIREMENTS is to have python + django installed django +* REQUIREMENTS is to have python + django (1.5.2) installed django ** should be straightforward ** see devel/django-install.txt in case of trouble @@ -17,12 +17,14 @@ 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 * run a local server: $ manage.py runserver 0.0.0.0:8000 @@ -150,10 +152,10 @@ package is published) .. the recommended layout for the various files and pieces (py, html, js and css) with django is IMHO really painful; we *SHOULD* use e.g. - plugins/simplelist.py, - plugins/templates/plugins.html, - plugins/static/js/simplelist.js - plugins/static/css/simplelist.css + plugins/quickfilter/quickfilter.py, + plugins/quickfilter/templates/quickfilter.html, + plugins/quickfilter/static/js/quickfilter.js + plugins/quickfilter/static/css/quickfilter.css which I have tried doing for a while but I found myself just hopping around in the file tree all day long, wasting cycles big time