johntynan / django-newsroom

Automatically exported from code.google.com/p/django-newsroom
Other
0 stars 0 forks source link

Write some kind of document containing useful procedures and best practices #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Write a some kind of document where we can keep track of commands like this
along with a description of what they do and why you will want to do them:

source newsroom-env/bin/activate
cd newsroom-env/working/trunk/newsroom/
./manage.py reset core
./manage.py reset features
./manage.py syncdb
./manage.py runserver

/manage.py dumpdata >> initial_data.json
./manage.py flush

Original issue reported on code.google.com by jgty...@gmail.com on 3 Apr 2009 at 7:41

GoogleCodeExporter commented 9 years ago
Check this out:

svn diff --summarize -r154:155

This should tell us if any models.py have been altered.

Original comment by jgty...@gmail.com on 3 Apr 2009 at 9:15

GoogleCodeExporter commented 9 years ago
And this will actually tell you if you need to update your model db table (or 
reset it)

svn diff  -r154:155 apps/features/models.py

Original comment by mand...@gmail.com on 3 Apr 2009 at 9:43

GoogleCodeExporter commented 9 years ago

Original comment by jgty...@gmail.com on 13 Apr 2009 at 3:25

GoogleCodeExporter commented 9 years ago

Original comment by jgty...@gmail.com on 13 Apr 2009 at 11:10

GoogleCodeExporter commented 9 years ago
We have a guide of best practices at:
http://lincolnloop.com/django-best-practices/

We believe these to be fairly generally accepted within the community and are 
good
things to consider if you want to get more people interested in the project. 

Original comment by luftyl...@gmail.com on 24 Apr 2009 at 4:51