Categorized: Django

Setting up a New Django Project Using Pinax

svn co http://django-hotclub.googlecode.com/svn/trunk/ [name_of_site]
cd [name_of_site]/projects
cp -R complete_project [name_of_project]
cd [name_of_project]
rm -rf `find . -type d -name .svn`
echo "ROOT_URLCONF = '[name_of_project].urls'" > localsettings.py

Now import the contents of [name_of_site]/projects/[name_of_project]/ into your choice of source code management systems and start developing your Pinax-based project. Put all new apps, templates, and media inside that folder. You can base your templates and media on the ones you copied when you duplicated the complete_project/ folder, or wipe them out and start from scratch.

When you’re ready to deploy, check here and here.

Sources

Comments

links for 2008-10-03 « Bloggitation → October 3rd, 2008 at 6:28 am

[...] Setting up a New Django Project Using Pinax (tags: django python pinax web programming) [...]

What do you think about that?

Elsewhere in the empire: Home, Blog, APOD